I am writing a program and have gotten half of the way there, but I could use some help on the last 50%. I have a function that allows a user to input a line and then it sends it to a text file. Each inputted member is sent to the text file on a new line. This is working fine, I am having trouble with the read function. This is supposed to read the whole text file and print it to cout. The only way I know to do this is to use getline() to send it to a string, but this only does one line. What other way can I do this?
A byte  not GC'd but not referenced either; could it be a GC root? How?
RhetoricalRuvim - Mar 02 2019 06:47 PM
How would make this tutorial code print points incorrect order
sonar87 - Nov 03 2018 07:42 PM
set property with HTML content as string in from include not possible
LDDbyD - Oct 01 2018 06:33 AM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
Posted 01 February 2013 - 07:07 PM
Posted 01 February 2013 - 07:29 PM
You could read this tutorial about writing and reading files in c
For the rest, please paste your code here so we can see how can we help you
Posted 02 February 2013 - 08:36 PM
Thanks! I figured it out using that tutorial.