C/C++ issues compiling


New Member

Messages: 14

I'm currently getting familiar with C and C++ programming on a FreeBSD system. I was able to compile my C programs with cc and makefiles but I seem to be having issues doing the same with C++. When trying to compile the following code I get the error of 'error: undefined symbol: std'
#include <iostream>

using namespace std;

int main()
  cout << "Hello World!!" << endl << endl;

  return 0;
Any help would be greatly appreciated.