Thread: new to c++

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    2

    new to c++

    Hi, I am new to c++/c. Will you pls tell me what should I download before working with it? Thanks in advance

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Well, you need an IDE:
    http://cpwiki.sf.net/Integrated_Development_Environment
    And then you just need something to program!
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    You need to have a C++ compiler and a text editor with which to write C++ code. These tools could come together in an Integrated Development Environment, some of which are available for free (see the link).

    Other than that you need a good C++ book for beginners (see our book recommendation thread: most likely candidates are Glassborow's You Can Do It! and Koenig and Moo's Accelerated C++). Note that C and C++ are different, though related, programming languages.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  4. #4
    Registered User
    Join Date
    Feb 2008
    Posts
    2
    Thank you very much. I will download IDE now. A question is, for example, if I choose Eclipse,
    it says Eclipse is a cross language Ide, does it means that: I just need to download and install Eclipse once, then install the CDT and JDT to use c++ and java respectively?

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    I am not sure of the details, but generally yes. You get the IDE, then you install language specific components.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed