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'
Any help would be greatly appreciated.
Code:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!!" << endl << endl;
return 0;
}