-
March 9th, 2017, 03:54 AM
#1
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
-
March 9th, 2017, 04:42 AM
#2
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)
-
March 9th, 2017, 05:58 AM
#3
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)
-
March 9th, 2017, 08:09 AM
#4
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
-
March 9th, 2017, 11:50 PM
#5
Re: finding a compiler
Originally Posted by Ketanco
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.
-
March 13th, 2017, 12:45 AM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|