Hi! I am not a C++ expert, please help me..im getting a little confused.
I'm using Vc++ 6 by the way.

I have this code to read from a text file:

Code:
#include <fstream.h>
char line[100];
void main()
    {  
	   ifstream fin("test.txt");

		while( fin.getline(line, 100) ) 
		{
			cout << "read line: " << line << endl;
...