I have a little cuestion... what is the ASCII number for the enter??
I have the next code:
#include <fstream.h>
void main()
char a[10];
ifstream file("abc.txt");
int line=1;
while(!file.eof()){
if(char[0]=="ascii number")
linea++;
}
}
what I need is to record the number of the line that I'm reading.