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 devcpp mingw, 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 devcpp mingw, guide Empty
MesajSubiect: How to add c++ 11 support in devcpp mingw, guide   How to add c++ 11 support in devcpp mingw, guide Icon_minitimeLun Mar 21, 2016 9:33 pm

This is a guide about how can you add C++ 11 support to DevCpp mingw.

Steps:
1. Open DevCpp.
2. Go to Tools -> Compiler Options -> Add the following commands when calling the compiler:
You have to write this line:
-std=c++11

if this above doesn't work, try this one:
-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 devcpp mingw, guide
Sus 
Pagina 1 din 1

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