Home › Forums › C Programming › C Code to extraxct data from a file › Re: Re: C Code to extraxct data from a file
December 30, 2008 at 9:41 pm
#3504
Participant
Is the code to be in c or c++? If in C++ you could easily type the proper combinations of input ( for the first line for example ):
1 2 3 4 5 6 | <br /> inputFile >> word; //get "Training"<br /> inputFile >> word;//get "File"<br /> inputFile >> word// get "="<br /> inputFile.getline ( fileString , MAX_LENGTH , 'n' ); //get ".ts_ce_D_0.5-1.5_train3.sdf"<br /> |
simple but tedious ………