C Programming Tutorial # 42 - fgets() - Reading Strings From A File - Part 1 [HD]

Loading...

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

Uploaded by on May 17, 2010

Visit http://www.CPlusPlusTutor.com
In this tutorial we will learn about fgets() function - a function to read strings from a file. fgets() allows you to specify number of chars to read so that you don't overflow.

This tutorial is part of the following series:
http://www.youtube.com/view_play_list?p=CB9F975ECF01953C

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (Learnorama)

  • umm i'm just wondering, is there a part 2 for this video??? I always see you write part 1 but there is no part 2

  • @kennybenny17 Please visit CPlusPlusTutor. com to find out. This helps cover some of the expenses of producing the tutorials and maintaining the website.

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • hi, awesome tutorial so far.

    unfortunately the link to the 2nd part is not working, as it is declared private.

  • hi, great video. I just have one question. I have been asked for one of my assignments to actually read a text file of number values. So i understand there will have to be a string array. Would I have to create a separate function which loops based on the size of the string and converts the string into an integer value? if so how exactly does one o about doing that?

  • it is best tutorial please update graphics programmes

  • @Learnorama ok will do

  • So fgets automatically moves the file pointer address after each line right?

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