its like i am working on a code written in c ... so i need da logic in c only i tried using getw and fscanf .. but :( dint work ....
"Victor A. Wagner Jr." <[EMAIL PROTECTED]> wrote: At 07:33 2007-03-15, umkatakam wrote: >--- In [email protected], "Victor A. Wagner Jr." <[EMAIL PROTECTED]> >wrote: > > > > At 03:45 2007-03-15, umkatakam wrote: > > >hey all > > >can anyone tell how to read a list of integers from a .txt file >using > > >a c-program .... the text file contains a number of integers >seperated > > >by spaces and i have to read all da integers one by one till da >end of > > >the file .... > > > > use c++ ...then > > while(instream >> someint) {/*do your processing here*/} > > > > pretty easy, huh? > > > > > > >mahesh > > > > > > > > > > > > > > >To unsubscribe, send a blank message to > > ><mailto:[EMAIL PROTECTED]>. > > >Yahoo! Groups Links > > > > > > > > > > > > > Victor A. Wagner Jr. http://rudbek.com > > The five most dangerous words in the English language: > > "There oughta be a law" > >no dude want it in c only .... sorry, I can't think of any reason to use C when writing new code > >To unsubscribe, send a blank message to ><mailto:[EMAIL PROTECTED]>. >Yahoo! Groups Links > > > Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law" --------------------------------- Don't get soaked. Take a quick peek at the forecast with theYahoo! Search weather shortcut. [Non-text portions of this message have been removed]
