Does anyone here know how to get an int from a file?
What i mean is, take some numbers that are in a file, and store them in an int variable. when i try to go:
int buffer;
file.getline(buffer, 10);
it gives me some error about cannot convert type blah blah
and when i try to go:
char buffer[11];
file.getline((int)buffer, 10);
it gives me the same error =[