Thread: Inputting-Outputting specific areas of a file

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    And where exactly does the word "extractLocator" appear in your above code?

  2. #2
    Registered User
    Join Date
    Apr 2008
    Posts
    122
    it doesn't . I'm confused...sorry.

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    122
    Code:
    for(int i = 0; i < MaxPages; i++)
      {
          getline(input,locators[i]);
          extractLocator(locators[i]);
          cout << locators[i] << endl;
      }
    doesn't quite work...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  2. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  3. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  4. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 02:53 AM
  5. Looping when outputting to a file
    By nizbit in forum C Programming
    Replies: 4
    Last Post: 03-05-2005, 10:26 AM