G
Gary Wessle
thanks for helping with this problem
I am getting errors starting with
fred@debian:~/myPrograms/cpp/practice$ make
cc hello.cpp
/tmp/ccQzQfGH.o: In function `main':
hello.cpp.text+0x27): undefined reference to `std::cout'
**************** the program ****************
#include <iostream>
using namespace std;
int main() {
cout << "Hello, World! I am "
<< 8 << " Today!" << endl;
return 0;
}
************************************************
**************** the make file ****************
hello: hello.o
cc hello.cpp
***********************************************
I am getting errors starting with
fred@debian:~/myPrograms/cpp/practice$ make
cc hello.cpp
/tmp/ccQzQfGH.o: In function `main':
hello.cpp.text+0x27): undefined reference to `std::cout'
**************** the program ****************
#include <iostream>
using namespace std;
int main() {
cout << "Hello, World! I am "
<< 8 << " Today!" << endl;
return 0;
}
************************************************
**************** the make file ****************
hello: hello.o
cc hello.cpp
***********************************************