Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RTFM questions that I can't find for some reason.
#1
Can anyone tell me in C++ how to:

1. Open a text file with the number "5" in it, and display it on the screen.

2. Open a text file with the number "56" in it, and load them into separate variables as "5" and "6".

That's all. Thank you.
Reply
#2
Quote:Can anyone tell me in C++ how to:

1. Open a text file with the number "5" in it, and display it on the screen.

2. Open a text file with the number "56" in it, and load them into separate variables as "5" and "6".

That's all. Thank you.

See chapter 4 of volume 2 of this book:
http://mindview.net/Books/TICPP/ThinkingInCPP2e.html
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)