I'm new to C++...

This is a discussion on I'm new to C++... within the C++ Programming forums, part of the General Programming Boards category; First of all, can you save the script as an .exe file, or do you need to save it as ...

  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    2

    Question I'm new to C++...

    First of all, can you save the script as an .exe file, or do you need to save it as .cpp and then compile it?
    And second, would you say age is a limitation for learning C++?

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,892
    You have to save as .cpp and compile it. Your text editor is not magical.

    Age in which direction? I believe the youngest member we've had was 12, the oldest over 60. Note, though, that it takes several years to become really good at C++, so if you're over 100, you might not want to bother
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    BTW, since C++ is not a scripting language, the code in .cpp files is called "source code" not a script.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  4. #4
    Registered User
    Join Date
    Jul 2009
    Posts
    2
    ok. are there any compilers you would suggest or does it not matter?

  5. #5
    Webhead Spidey's Avatar
    Join Date
    Jul 2009
    Posts
    285
    Visual Studio/C++

    Heres the link to the free Visual C++ Express Edition -

    http://www.microsoft.com/express/vc/

  6. #6
    Registered User
    Join Date
    Jan 2009
    Posts
    103
    Quote Originally Posted by CornedBee View Post
    You have to save as .cpp and compile it. Your text editor is not magical.

    Age in which direction? I believe the youngest member we've had was 12, the oldest over 60. Note, though, that it takes several years to become really good at C++, so if you're over 100, you might not want to bother
    I just beat the age limit

    Also, you may want to check out Dev-Cpp and KDevelop (if you use linux, which I highly recommend).

Popular pages Recent additions subscribe to a feed

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