Having issues with my compiler..
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ failed with exit code 1
How do I resolve this? I can't seem to find much on how to fix it on any site. ._.
I'm on a Mac trying to use Xcode to compile some C++
I've started off with the tutorial:
C++ Tutorial - Introduction to C++ - Cprogramming.com
And this was the code I used:
Code:
//
// HelloWorld.cpp
// Hello World
//
// Created by on 26/02/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#include <iostream>
usingnamespacestd;
int main()
{
cout<<"HEY, you, I'm alive! Oh, and Hello World!\n";
cin.get();
return 1;
}