View Single Post
Posts: 303 | Thanked: 175 times | Joined on Oct 2009 @ London UK
#6
edit test.cpp and whack in:

Code:
#include <iostream>

int main() {
  std::cout << "This works" << std::endl;
  return 0;
}
Then run

HTML Code:
g++ -o test test.cpp && ./test
can't create output is something I used to see a lot on solaris.. usually because solaris had a program with the same name as the C compiler.. it did nothing other then display "the c compiler is not installed"

weeeelll that is helpful!

Make sure your g++ compiler can actually produce working binaries first..