C/C++ issues compiling

coyote_trackz

New Member


Messages: 15

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'
Code:
#include <iostream>

using namespace std;

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

  return 0;
}
Any help would be greatly appreciated.
 
Top