how can I read tring and numbers from a file?
From: _mario.lat (mario.lat_at_libero.it)
Date: 06/30/04
- Previous message: Bert: "Re: Removing duplicates from an array of pointers"
- Next in thread: Rufus V. Smith: "Re: how can I read tring and numbers from a file?"
- Reply: Rufus V. Smith: "Re: how can I read tring and numbers from a file?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jun 2004 12:15:57 GMT
Sorry for my question,
I'm new to C++.
I'd like to read data from a file (data.txt) whi si made like that:
xxx_string_xxxx 12 23.232 32
yyy_string2_fjsd 23 344.123 233
sdgfsagasfgsa 22 24.34 34.11
.....
each line have one string at begininng then three numers: how can I read
this file and put
this value in a vector?
How can I do?
Thank you in advance for the time you'lll spend for me.
Mario.
- Previous message: Bert: "Re: Removing duplicates from an array of pointers"
- Next in thread: Rufus V. Smith: "Re: how can I read tring and numbers from a file?"
- Reply: Rufus V. Smith: "Re: how can I read tring and numbers from a file?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]