View Single Post
Old 01-18-2003, 02:23 AM  
iroc409
Confirmed User
 
Join Date: Jan 2003
Location: midwest side, yo
Posts: 4,728
for the programmers in da hizzouse...

got a quick question...

ok, i'm reading from a file, and if the first character in the file is a backslash (\), i need to tell it to go to the next *line* of the document, not next character. i can increment the pointer, but that just goes to the next character. anyone?

also, if i have a pointer FILE *fp; can i use 'fp--' to decrement the pointer, go backwards through characters, or does that not work?

thanks
__________________
<a href="http://www.iroc409.com/"><img src="http://www.iroc409.com/adv/120x60.gif" border=0></a>


icq: 1 7 6 4 2 0 9 6 0
Gallery templates for ONLY $25! w00t!
iroc409 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote