cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Best way to extract floating point numbe
Best way to extract floating point numbers from a text file
Oct 31, 2010 at 8:20am UTC
cooolkilller
(3)
Hi, I have a text file and I am looking to extract the floating point numbers from that file, there are characters too in that file....can someone please suggest me the best way to extract the floating point numbers from the file....
Thank You
Oct 31, 2010 at 9:15am UTC
Bazzy
(6281)
operator>> ?
Oct 31, 2010 at 10:09am UTC
cooolkilller
(3)
what do you mean operator>>?
Oct 31, 2010 at 1:01pm UTC
Bazzy
(6281)
http://www.cplusplus.com/reference/iostream/istream/operator%3E%3E/
Oct 31, 2010 at 8:00pm UTC
cooolkilller
(3)
hey thats a very good thing to know, I appreciate your reply, but unfortunately i have to use c only, do you knw any way i can do this with c
Oct 31, 2010 at 8:09pm UTC
Galik
(2254)
Then you probably want fscanf():
http://www.cplusplus.com/reference/clibrary/cstdio/fscanf/
Topic archived. No new replies allowed.