I'm creating a C++ program, and I dont remember the proper way to do this.
Example
Gas prices were set at $4444
I need to take the number 4444 out of that STRING message and convert it to a float, so I need to read in the entire line of code, and get the number part out, I believe it had something to do with cin.get
C++ help???
substring function
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment