Hi im new to the forums and I was wondering how do i download C++11? or.. is it which compiler uses C++11? im not to sure :X but hopefully i think the jist of my problem is i would like to use C++11 wether it is a compiler or an actual download :) thanks!
Acctually how do i use clang...? i have codeblocks atm but im honestly not sure what to do with clang O_O its all a bunch of downloads and idk which one to use
If you're on a Linux distribution, then you need to install the package clang and add it as a compiler in Code::Blocks (Settings/Compiler, copy the GCC compiler and replace gcc with clang and g++ with clang++ in the toolchain executables).
I don't think clang officially supports Windows yet.
- Compiler = A program that converts your source code into an executable file (.exe)
- C++11 specification = The latest "version" of C++, with additional features compared to the previous one.
- IDE = Integrated Development Environment, basically a program in which you write your code with additional features such as debugging, compiling, language references, etc.
There's no such thing as "downloading C++".
You will need a program to write your code (it can be as simple as notepad, but code::blocks is very popular).
In order to convert that C++ code into a file that you can execute (program), you will need a compiler.
On code::blocks for windows Mingw is a good choice, it supports a lot of the latest C++ features as someone mentioned earlier.