fread - reading strings and integers.

This is a discussion on fread - reading strings and integers. within the C Programming forums, part of the General Programming Boards category; Now that finally I cant write well on my datafile, I need to know how do I with an for ...

  1. #1
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807

    fread - reading strings and integers.

    Now that finally I cant write well on my datafile, I need to know how do I with an for loop can print ALL the content of the file?

    my file gots something like that:
    Joshua 100
    Test 50

    and like this goe's, on the book just show me how to put all this things in array, I just need to print them, nothing else.

    Thanks!

  2. #2
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807

    Ok, thanks a lot.

    Really thanks guys...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Converting Integers to Strings
    By momo97 in forum C++ Programming
    Replies: 5
    Last Post: 03-04-2009, 01:36 AM
  2. Replies: 0
    Last Post: 12-05-2008, 02:16 PM
  3. Replies: 9
    Last Post: 03-17-2006, 12:44 PM
  4. Casting strings to integers and back
    By clancyPC in forum C Programming
    Replies: 7
    Last Post: 11-20-2003, 01:05 AM
  5. reading string and integers from a text file
    By Gator in forum C Programming
    Replies: 2
    Last Post: 11-25-2001, 02:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21