Thread: Trouble making an Array equal a Function

  1. #16
    Registered User
    Join Date
    May 2003
    Posts
    1,619
    Lol, the language has undergone a lot of revisions, and the tools aren't perfect; I'd say half the C++ community uses <iostream.h> instead of <iostream>, most compilers don't even fully support the ANSI-C++98 standard, and for people like me who have been into C++ since 1991, it seems like the folks like to shake the whole language up periodically.

    On the plus side, the changes over the past 12 years have been overwhelmingly positive, and Microsoft has finally put out a compiler (.NET 2003) that is not only good, it's the most compliant out there, which probably dropped more than a few jaws from people used to VC's odd relationship with the standard.

    C++ is indeed a wild ride; just learn as you go along. And if your compiler gripes over something that should be legal, then make the necessary changes and gripe at it, or upgrade.

    The tools aren't perfect; if you have something like VC6 or .NET 2002, read up on the major problems so you can code around your tools' stupidity:

    http://support.microsoft.com/default...NoWebContent=1

  2. #17
    Registered User codegirl's Avatar
    Join Date
    Jun 2003
    Posts
    76
    ummm, if omitting return 0 doesn't work for every compiler, wouldn't it be best to include it for portability? It's only, what, 9 keystrokes anyway

    Wow, I must be a slow reader because two new posts appeared when I clicked Reply.... I agree with you Zakk, C++ is definitely an odd language, to say the least
    My programs don't have bugs, they just develop random features.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  2. Replies: 2
    Last Post: 07-11-2008, 07:39 AM
  3. dllimport function not allowed
    By steve1_rm in forum C++ Programming
    Replies: 5
    Last Post: 03-11-2008, 03:33 AM
  4. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 02:28 PM
  5. I need help with passing pointers in function calls
    By vien_mti in forum C Programming
    Replies: 3
    Last Post: 04-24-2002, 10:00 AM