Getting title from text file

This is a discussion on Getting title from text file within the C++ Programming forums, part of the General Programming Boards category; EDIT::Fixed it. Thanks for looking!...

  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    122

    Getting title from text file

    EDIT::Fixed it. Thanks for looking!
    Last edited by Todd88; 12-01-2008 at 03:39 PM.

  2. #2
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    Do you reset the file pointer to the beginning of the file(stream)? I guess it reads the title and then just prints the rest (without looking in detail your code)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Formatting the contents of a text file
    By dagorsul in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2008, 01:36 PM
  2. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  3. Simple File encryption
    By caroundw5h in forum C Programming
    Replies: 2
    Last Post: 10-13-2004, 11:51 PM
  4. checking values in a text file
    By darfader in forum C Programming
    Replies: 2
    Last Post: 09-24-2003, 03:13 AM
  5. what does this mean to you?
    By pkananen in forum C++ Programming
    Replies: 8
    Last Post: 02-04-2002, 03:58 PM

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