C++ Tutorial - 24 - Reading From a File

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
61,590
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 13, 2009

How to read from a file using c++.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 10 dislikes

Link to this comment:

Share to:

Top Comments

  • SO CONFUSING!!!

  • while i was watching this tutorial i sat back in my chair, adjusted my glasses and said to myself "shit just got real"....

see all

All Comments (217)

Sign In or Sign Up now to post a comment!
  • Hello, I was wondering where do you store the file in your computer, because it keeps exiting because my code is not finding my file in my computer.

  • Say I wanted to take a list of random numbers from a file, and find their sum and average. How do I go about doing that? Do you have a tutorial going over that somewhere?

  • can someone tell me what he mean by object?!

  • @HamishWare when you don't specify the directory, it searches for the given file inside of your project folder. at least this is how it works for me

  • umm... explanation point? you mean exclamation mark?

  • please help me...i created a file.txt using the fstream...

    but is there any function to hidden the file.txt

    tq

  • O.o ?????????????

  • @Digiscat I have no idea. I'll be asking some tutor once my class gets to this. I'm not that smart either, that's why I'm here asking questions lol.

  • @brawl313 lulzy. Guess I'm not as smart as I had hoped. Anyways, I would guess choosing 'word' was slightly random.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more