cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
replace commas with spaces
replace commas with spaces
Apr 20, 2015 at 3:38am UTC
AG123
(2)
I am reading in a file but i need to replace the commas in the file with spaces without changing the txt file that was read. I was wondering if anyone had any ideas on how to do this?
Apr 20, 2015 at 9:22am UTC
keskiverto
(10402)
When you read, you must store in a variable what you read. Change the value of the variable.
Perhaps you can show the code of your reading routine?
Topic archived. No new replies allowed.