Thread: MSVC getline() header location?

  1. #1
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879

    MSVC getline() header location?

    Just a quick question. Which is the header containing the definition for std::getline(), and where is it located for MSVC 6.0? I'm trying to fix the bug as described in this article.

    **EDIT**
    Never mind, I stepped through std::getline() in the debugger and made the change at the first spot that matched the excerpt. I'm not totally sure if it worked, but let's hope for the best
    Last edited by Hunter2; 08-13-2004 at 07:35 PM.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  2. #2
    Registered User
    Join Date
    Jul 2004
    Posts
    19
    The location your are looking for ist exactly where it is described in this article:
    Modify the getline member function, which can be found in the following system header file string, as follows:


    It is placed in the "standard" include-directory.

    mfg JJ

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    19
    If you want to fix STL-Bugs in VC5/VC6 this is an interesting link for you:
    http://www.dinkumware.com/vc_fixes.html

    mfg JJ

  4. #4
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    >>It is placed in the "standard" include-directory.
    Actually, as it turns out, it's placed in VC98\Include That's an awesome site though, I fixed several other headers including <vector>. Strange, that I (and many others) never noticed any problems with vectors.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. IP header "total length" vs. packet size
    By MK27 in forum Networking/Device Communication
    Replies: 2
    Last Post: 01-04-2009, 07:45 AM
  2. class header confusion
    By te5la in forum C++ Programming
    Replies: 2
    Last Post: 07-22-2008, 02:39 PM
  3. Reading a MP3 header
    By xErath in forum C Programming
    Replies: 6
    Last Post: 06-22-2004, 08:09 PM
  4. Im so lost at . .
    By hermit in forum C Programming
    Replies: 18
    Last Post: 05-15-2002, 01:26 AM
  5. Replies: 6
    Last Post: 04-02-2002, 05:46 AM