Forum: C++ Sep 10th, 2009 |
| Replies: 3 Views: 459 Classes don't inherit friends and subclasses can't access base class's private members |
Forum: C++ Jul 21st, 2009 |
| Replies: 11 Views: 560 its because you are missing the while part of a do while loop
do {
} while (some condition); |
Forum: C++ Jun 27th, 2009 |
| Replies: 11 Views: 659 java and javascript are not the same, the only thing they share is the c like syntax. Java and JavaScript are 2 completely different languages |
Forum: C++ Aug 24th, 2008 |
| Replies: 5 Views: 902 surely you mean convert string to an integer using atoi()? |
Forum: C++ Jul 7th, 2008 |
| Replies: 31 Views: 2,134 |
Forum: C++ Jul 7th, 2008 |
| Replies: 31 Views: 2,134 What do you mean it doesn't work?, you are going to have to be more specific |
Forum: C++ Jul 7th, 2008 |
| Replies: 31 Views: 2,134 #include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int n;
int vote = 0;
//const int limit=50; |
Forum: C++ Jul 7th, 2008 |
| Replies: 31 Views: 2,134 its supposed to be int main() not void main() and its alot easier to read if you declare your variables at the beginning of the function |
Forum: C++ Jul 7th, 2008 |
| Replies: 31 Views: 2,134 we don't give answers to homework here, if you have a problem with some code then we can help |
Forum: C++ Jun 27th, 2008 |
| Replies: 3 Views: 963 remove the semi colon on line 22, you don't need semi colons after flow controls |
Forum: C++ Jun 27th, 2008 |
| Replies: 6 Views: 699 system("\"C:\\Documents and Settings\\myUser\\myProject\\app.exe\" -vb \"C:\\Documents and Settings\\myUser\\file.txt\"");
it should be
system("C:\\Documents and... |