I have been asking for like the past two weeks how to skip to the next line when reading a file, and so far everything everyone has said doesn't actually work, I can't find it on msdn, I can't get anyone from gamedev.net to respond, is this impossible or something? All I need is a variable to keep track of the location on the line, once it gets to 15 i need it reset to zero and i need the ifstream object to ignore everything to the end of the line so that it starts reading after the '\n' symbol.

I have already tried using seekg('\n') and it still seems that this should work, but alas all I get inputted from the file is jibberish (stuff that looks like memory addressess)