Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
C++0x/C++11 in codeblocks (how to implement GCC)
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: C++0x/C++11 in codeblocks (how to implement GCC) (Read 9748 times)
Topdog2904
Single posting newcomer
Posts: 3
C++0x/C++11 in codeblocks (how to implement GCC)
«
on:
June 28, 2012, 04:56:07 pm »
Hi,
I'm wondering how to enable support for C++11 completely. I can use long long numbers, but not range based for loops.
I don't know all the techie speak, so if you ark kind enough to reply. Please make it simple
So far, I have established that I have an older version of GCC but have no idea how to update this. Any help would be appreciated
Andy
Logged
zabzonk
Guest
Re: C++0x/C++11 in codeblocks (how to implement GCC)
«
Reply #1 on:
June 28, 2012, 05:13:56 pm »
What platform are you on? If it's Windows, you can get an pretty up-to-date GCC implementation of GCC from TDM (certainly supports the new for-loop syntax) - I have easy to follow instructions on my blog at
http://latedev.wordpress.com/2011/06/20/how-to-install-a-c-compiler-on-windows
. You will then need to point C::B at the new installation - see Settings|Compiler|Toolchain Executables.
Logged
Topdog2904
Single posting newcomer
Posts: 3
Re: C++0x/C++11 in codeblocks (how to implement GCC)
«
Reply #2 on:
June 28, 2012, 06:25:12 pm »
Yeah, I am on windows (probably should have mentioned that).
Anyways, thanks for your quick reply. Had a little read of the blog post and it seems very helpful. I will have a look at it tonight and see how that goes.
Again, thanks for the help
Andy
Logged
Topdog2904
Single posting newcomer
Posts: 3
Re: C++0x/C++11 in codeblocks (how to implement GCC)
«
Reply #3 on:
June 29, 2012, 01:31:03 am »
I have it working now, thanks for the help
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
C++0x/C++11 in codeblocks (how to implement GCC)