I’ll try to run through the common ones, and hopefully you will be up and running quickly. However, with a new language, compiler, and standard library, there are some incompatibilities. There have been lots of articles written about the new features, so I won’t belabor them here. It’s also better integrated into Xcode.Ĭ++11 is a major upgrade in functionality from C++03. This is good newsĬlang is a much more capable compiler than gcc 4.2.1. This is a change from previous versions, where the default was gcc 4.2.1, C++03, and libstdc++. In Xcode 4.6 (and presumably, later versions), the default C++ compiler is clang, the default language is C++11, and the standard library is libc++. You want to use the latest and greatest, so you create a new project, and add your sources to the project, and hit Build, and … guess what? Your code doesn’t build! What’s up with that? So, you’ve installed Xcode 4.6, and you are a C++ programmer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |