If you are just trying to write C ++ code in Xcode instead of calling C ++ libraries in an objectiveC project, you can create a C ++ project. I just created a new project using the "Command Line Tool" template and selected C ++ as the language.
Then I could add the following lines without a compiler complaint.
#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
std ++, std::
int main (int argc, const char * argv[])
{
std::cout << "Hello World!";
return 0;
}
, std:: Xcode...