Forum: C++ Jul 5th, 2009 |
| Replies: 9 Views: 289 if(name == 'kevin'){
This is quite wrong,
Firstly Make name into a C-styled array as in char name[30]
Then, you should use double quotes (") and not (').
... |
Forum: C++ Apr 29th, 2009 |
| Replies: 13 Views: 478 To read the matrix.
Open the file.
while(!infile.eof())
{
string x;
infile>>x;
dosomethingwith(x);
} |
Forum: C++ Apr 10th, 2009 |
| Replies: 12 Views: 869 SOUNDS LIKE MISSION IMPOSSIBLE.
This will self destruct in 5-4-3-2-1 BOOM!!! :) |