Original Post
i am reading an input file and in certain cases in the file i need to be to able "look ahead" in the file to the next character see what is next before actually reading it. the character would be a number or it can be a # sign. if its a # sign then i can go on and check the next character. if not then i can go ahead and convert the character to integer and use it from there. i remember glancing over this long ago but never thought i would actually need it. i looked on msdn all i could find was seekg but i dont think that was it. can anyone help me on this?