but i have the command here or am i missing something
Code:ifstream input; input.open("data.txt"); cout << "read how many entries" << endl; cin >> n; for (f=0;f<=n;f++); { input >> id[f]; input >> grade[f]; }
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 22
Threaded View
|
Click Here to Expand Forum to Full Width |