Pagini: [1]   În jos
  Imprimă  
Ajutor Subiect: C++11  (Citit de 1153 ori)
0 Utilizatori şi 1 Vizitator pe acest subiect.
manutruta
Strain


Karma: 5
Deconectat Deconectat

Mesaje: 24



Vezi Profilul
« : Februarie 21, 2014, 00:47:57 »

Salut !

Am problema asta de ceva vreme... Cum pot sa imi updatez CodeBlocks-ul la C++11 ?
Adica vreau sa pot folosi "unordered_set", "unordered_map" etc.

Multumesc anticipat.
Memorat
PlayLikeNeverB4
Nu mai tace
*****

Karma: 212
Deconectat Deconectat

Mesaje: 721



Vezi Profilul
« Răspunde #1 : Februarie 21, 2014, 00:58:54 »

Cod:
#include<tr1/unordered_set>
tr1::unordered_set<int> S;
Memorat
mihaipopa12
Client obisnuit
**

Karma: 74
Deconectat Deconectat

Mesaje: 64



Vezi Profilul
« Răspunde #2 : Februarie 21, 2014, 03:41:30 »

Poti sa activezi C++ 11 din Project -> Build Options -> Compiler Settings -> bifeaza Have g++ follow the C++11 ISO C++ language standard.
Memorat
Pagini: [1]   În sus
  Imprimă  
 
Schimbă forumul:  

Powered by SMF 1.1.19 | SMF © 2006-2013, Simple Machines