|
-
July 25th, 2012, 10:25 AM
#1
reading data character by character from text file
doubles values are stored in text file. 23.5 36.8 34.2 my teacher has advised me to read them character by character and then make words, like i have to read "2" "3" "." "5" and now have to make it or treat it as word and then using atoi() i have to convert it into double. but i dont know how to do this could anyone plz explain with some code relevant to my example. im new to filing so pardon me for basic questioning
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|