Forum: C++ May 9th, 2007 |
| Replies: 4 Views: 10,191 First of all add code tags. Find out why void main and gets are bad. There is many posts about them. |
Forum: C++ Jan 12th, 2007 |
| Replies: 3 Views: 2,179 C++ is a programming language and turbo C++ is a compiler. |
Forum: C++ Oct 2nd, 2006 |
| Replies: 16 Views: 9,857 Try to use sleep or usleep. I think that they are not standard functions but U can try. Use these func without including extra headers. The compiler will tell you that they are implicit declared. If... |
Forum: C++ Sep 29th, 2006 |
| Replies: 6 Views: 4,573 Change the constructor to
rectangle()
{
length = 1;
width = 1;
} //constructor sets length and width defaults to 1
or |
Forum: C++ Sep 29th, 2006 |
| Replies: 6 Views: 4,573 Hm never seen that (probably becouse I'm not c++ programmer). But the book never lies. Make a test just leave the construtor and what will the copiler tell U |
Forum: C++ Sep 27th, 2006 |
| Replies: 6 Views: 2,754 |
Forum: C++ Sep 26th, 2006 |
| Replies: 5 Views: 5,461 If you want help you need to post the whole code. Read this (http://www.daniweb.com/techtalkforums/announcement8-3.html) |
Forum: C++ Sep 25th, 2006 |
| Replies: 6 Views: 1,823 Did you tried cin.ignore after cin.get(ifname, 150); ? |
Forum: C++ Sep 24th, 2006 |
| Replies: 5 Views: 4,184 The point is that you need to post some code. If you find some C++ program then try to convert it to C. If you have problems then post it. |
Forum: C++ Sep 22nd, 2006 |
| Replies: 3 Views: 1,250 First of all your code doesn't compile without errors. Fix the errors. |
Forum: C++ Sep 20th, 2006 |
| Replies: 14 Views: 2,793 Instead of double use long long. |
Forum: C++ Sep 20th, 2006 |
| Replies: 5 Views: 1,435 Why don't you use the compiler to check the code. Do you have question?
check.cpp: In function `bool checker(int)':
check.cpp:19: warning: control reaches end of non-void function
Thats after my... |
Forum: C++ Sep 20th, 2006 |
| Replies: 4 Views: 1,112 You should go throught pointer tutorial.
OK *(ptarray[i]) is dereferenced pointer of ptarray[i]. Here is the deal.
ptarray[0] value is address of ar. When you dereference it you will have the... |
Forum: C++ Sep 20th, 2006 |
| Replies: 5 Views: 2,116 Hm well on this forum you can get diffrent answers. The best way probably is to consult your teacher. |
Forum: C++ Sep 18th, 2006 |
| Replies: 5 Views: 2,806 >then I might have to suffer a non-standardized design, which isn't a big deal
then use getch |
Forum: C++ Sep 8th, 2006 |
| Replies: 6 Views: 2,444 |
Forum: C++ Sep 7th, 2006 |
| Replies: 9 Views: 4,221 When I was looking your code you din't have tags and I didn't copy the graphic.h include. I noticed that some stuff were not defined but probably they are defined in graphic.h. I suggest to... |
Forum: C++ Sep 6th, 2006 |
| Replies: 8 Views: 8,544 |
Forum: C++ Sep 5th, 2006 |
| Replies: 8 Views: 8,544 No. Istead of gcc type g++. Of course the file name is cpp instead of c. |
Forum: C++ Sep 5th, 2006 |
| Replies: 6 Views: 21,859 I don't think that someone will provide you the source code. Try at google. I bet that you will find something |
Forum: C++ Sep 5th, 2006 |
| Replies: 7 Views: 10,702 Can you specify your problem more clearly?Click here (http://www.google.com/search?hl=en&q=NFA+DFA&btnG=Google+Search) |
Forum: C++ Sep 4th, 2006 |
| Replies: 8 Views: 8,544 type gcc programName.c -o programName -Wall
and then to execute
./programName
-Wall is optional |