Making A code read from an external file instead of within the code

http://www.cplusplus.com/forum/general/140414/

I posted this twice, see above thread.


Last edited on
Please provide the errors given in the debug area of Codeblocks. We are not all able to compile peoples code on a pc all the time.
read below post
Last edited on
nvm
Last edited on
Could anyone help me? And I also need help with making a new code that doesn't read the words from the actual code. I need the script to read the lists from external .cpp/txt files.
Last edited on
Anyone?
How could this be done, if possible even?
Use fstream instead of stringstream

http://www.cplusplus.com/reference/fstream/fstream/
Already suggesting that on his doublepost thread: http://www.cplusplus.com/forum/general/140414/
Topic archived. No new replies allowed.