Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: c++11?  (Read 1100 times)

0 Members and 1 Guest are viewing this topic.

dark ninjuh

  • Newbie
  • *
  • Posts: 13
    • View Profile
c++11?
« on: October 13, 2014, 10:10:08 am »
hello. I know this is not typically "sfml" related, But posts in c++ related topics found no solutions. Since i've seen the use of to_string used in sfml programs here on the forums, i'm asking how to get to c++11's standards with what i have. Just so i don't have to post an entire page of information, here is the last post i made related to this topic which found no solution .
posted all info here:
http://www.cplusplus.com/forum/beginner/144791/
with no avail, i'm still unable to get use of to_string.
Any help from here would be greatly appreciated. Apologies for most likely non-sfml related topic.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
AW: c++11?
« Reply #1 on: October 13, 2014, 10:18:11 am »
Please don't post only C++ related things here. This is the SFML forum and not an C++ forum. ;)

They've already posted everything you have to do: Don't use the original MinGW version, instead get for example "MinGW Builds".
When you do so, you need to reconfigure the compiler in Code::Blocks and make sure you don't have multiple MinGW version in PATH.
And at the end don't forget to add the flag for C++11.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: c++11?
« Reply #2 on: October 14, 2014, 02:30:52 am »
There is also something really obvious that you may have missed out so it should be mentioned but the chances are that you aren't making this mistake. Just thought I'd point it out in case you overlooked it:
#include <string>
:P
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*