Home Forums C Programming C Code to extraxct data from a file Re: Re: C Code to extraxct data from a file

#3504
GWILouisaxwzkla
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 ):


inputFile >> word; //get "Training"
inputFile >> word;//get "File"
inputFile >> word// get "="
inputFile.getline ( fileString , MAX_LENGTH , 'n' ); //get ".ts_ce_D_0.5-1.5_train3.sdf"

simple but tedious ………