#include <fstream.h>
ifstream cfgfile;
char line[256];
cfgfile.open("reading.txt");
while(cfgfile.getline(line,255))
{
//Do your thang here. Each line is progessively recorded into char line[256]
}
cfgfile.close();
_________________ There are no stupid question, but there are many inquisitive idiots.
Loot
Dr Brain> I hate clean air and clean water. I'm a member of Evil Conservitive Industries
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum