Deady Online
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.

Deady Online

Delivering information to the world. You are always welcomed to join!
 
AcasaPortalUltimele imaginiCăutareÎnregistrareConectare

 

 How to add c++ 11 support in codeblocks with gnu gcc compiler, guide

In jos 
AutorMesaj
Oscuridao
Admin



Mesaje : 352
Data de inscriere : 27/08/2011
Varsta : 29
Localizare : Romania

How to add c++ 11 support in codeblocks with gnu gcc compiler, guide Empty
MesajSubiect: How to add c++ 11 support in codeblocks with gnu gcc compiler, guide   How to add c++ 11 support in codeblocks with gnu gcc compiler, guide Icon_minitimeLun Mar 21, 2016 9:39 pm

This is a guide about how can you add C++ 11 support to codeblocks with gnu gcc compiler mingw.

Steps:
1. Open Codeblocks;
2. Go to Settings -> Compiler -> Compiler Settings -> Compiler Flags -> click on: "Have g++ follow the C++11 ISO C++ language standard [-std=c++11]";
if this doesn't work for you go the next line:
"Have g++ follow the coming C++0x ISO C++ language standard [-std=C++0x]";

These are the few things than will be able to use after this:
- null pointer initialization with nullptr;

Example:
int c*;
c=nullptr;
- scoped enums;
Example:
enum name {write, black, green};
name ename;
ename=name::black;


-much more
Sus In jos
https://deady.forumgratuit.ro
 
How to add c++ 11 support in codeblocks with gnu gcc compiler, guide
Sus 
Pagina 1 din 1
 Subiecte similare
-
» Sdl libraries for devcpp mingw, installation guide
» Sdl libraries linking for codeblocks, installation guide
» How to set up glew library on codeblocks, and other ide softwares, full guide!
» How to add c++ 11 support in devcpp mingw, guide
» Glew compilation and runtime errors fixes for all of them, a guide for linking libraries into ide software compiler

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
Deady Online :: Others :: Altele!-
Mergi direct la: