CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2017
    Posts
    12

    finding a compiler

    Hi,
    I am learning C++ nowadays. I think it is time to start writing code. (i was learning on a phone app by reading only, not my pc)

    What should I do to write C++ code on my computer. I write it on a compiler? Where can I download a free and good one? Is that all I need?

    My computer uses Windows 10

  2. #2
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,822

    Re: finding a compiler

    Use the free Microsoft Visual Studio Community edition available from https://www.visualstudio.com/downloads/
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  3. #3
    Join Date
    Mar 2017
    Posts
    12

    Re: finding a compiler

    thanks i installed it.

    now it gives me the option of writing in visual C++. is it the same thing as C++?
    i dont see C++ option anywhere (during installation i had selected options for C++ development)

  4. #4
    VictorN's Avatar
    VictorN is online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,395

    Re: finding a compiler

    Just choose the visual C++.
    Then you will be able to write also code for a console application *non-visual C++) if you will choose the project type for it.
    Victor Nijegorodov

  5. #5
    Join Date
    Feb 2017
    Posts
    677

    Re: finding a compiler

    Quote Originally Posted by Ketanco View Post
    now it gives me the option of writing in visual C++. is it the same thing as C++?
    The difference is that C++ is a programming language governed by a standards committee whereas Visual C++ is a product from Microsoft. Or rather was. Today Visual C++ is assimilated into Visual Studio which contains all Microsoft's programming language offerings.

    Microsoft is very active in the C++ standards committee. Here's the homepage of Herb Sutter, a major C++ guru at Microsoft,

    https://herbsutter.com/

    Here's another page devoted to standard C++,

    https://isocpp.org/

    Now is a very good time to start learning C++. The language has been thoroughly modernized and continue to develop quickly. The release of a free community edition of Visual Studio is a small miracle I never could imagine would ever happen.
    Last edited by wolle; March 12th, 2017 at 01:28 AM.

  6. #6
    Join Date
    Sep 2016
    Posts
    8

    Re: finding a compiler

    I have to say that the NetBeans IDE is wonderful.
    I've installed it on Windows 8, but there is no reason why it wouldn't work on 10.
    The the forums and help groups are great too.

    For what it's worth

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured