Thread: "Bug" reporting?

  1. #1
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677

    "Bug" reporting?

    I found this page to contain an error:
    http://www.cprogramming.com/tutorial/quiz/quiz10.html

    On question 5, none of the answers are technically correct in a modern setup, as the ".h" part of the filename is omitted in C++.

    I'm sure someone with moderating abilities will move this post if it's in the wrong place... :-)

    --
    Mats

  2. #2
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    Quote Originally Posted by matsp View Post
    I found this page to contain an error:
    http://www.cprogramming.com/tutorial/quiz/quiz10.html

    On question 5, none of the answers are technically correct in a modern setup, as the ".h" part of the filename is omitted in C++.
    Well, when you include it in a source file anyway. But that doesn't change the fact that there is an extension. The file is still an h file within your include directory. The conventions in place to include standard C++ libraries may or may not be important to the question, and I guess Alex figured it's not. That's alright with me.

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    >> But that doesn't change the fact that there is an extension. The file is still an h file within your include directory.

    Actually it is not. The file has no extension within your include directory. You can tell because some compilers have both iostream and iostream.h for backwards compatibility, and they both exist in the same directory.

    webmaster generally handles the non-forum part of the site, you might try PM'ing him with changes or suggestions to make sure he sees them. A lot of that stuff was old but has been updated to reflect standard C++, apparently something was missed.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 08-11-2008, 12:50 AM
  2. Stack/Debug reporting in a win32 app
    By Mastadex in forum Windows Programming
    Replies: 1
    Last Post: 08-21-2007, 12:27 AM
  3. reporting memory usage
    By kuhnmi in forum C++ Programming
    Replies: 4
    Last Post: 08-22-2004, 11:29 PM
  4. Problem Reporting System. Need Advide!
    By brunomiranda in forum Tech Board
    Replies: 9
    Last Post: 09-25-2003, 09:21 PM