   quick problem with file input
  in my level script editor files... there are descriptions of each enemy so they can be identified in teh editor, but my game (in another program) does not need these descriptions, and needs to just feed it into garbage. each description is on its own line. thusly:this is a SSF file (stage script file)   Data/lvl1back.sdf 50  1 Data/enemy1.sdf 1  5000  200 -200  0  75  100 [1] Green Planethe information from Data/Enemy.sdf to [1] Green Plane is all enemy information. however [1] Green Plane is the description, when i try this (in_file is a ifstream):in_file.getline(garbage, 50);it reads the line in fine, but when i loop (with multiple enemies) to start reading the enemy information (such as the SDF file for the next enemy), it reads in that same line. it seems that getline does not push the read cursor to the next line when it gets it. how would i skip this extra line?thanks guys! 
  Just use getline again to move the line down. ;  worked like a charm, thanks! ;  are you using getline for the garbage and >> ops for the rest?in that case getline won''t advance the position.  if this is not the case, then just use the same get function you use to read the data, but loop it and ignore the data it gets.you could use old style FILE input.  it''s old, but it gives less stupid erros than ifstream. 