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" 

Reply via email to