This code won't compile in Red Hat Linux 9
I've been using Dev C++ compiler in windows for C & C++.
I started out reading Schildt's book, "Teach Yourself C" which I finished a couple months ago. Then a friend who is going to school for computing said that he was taking a C++ course and suggested that I give C++ a try. I already had Jesse Liberty's book, "Teach Yourself C++ in 21 days which was put out in 1999 and I worked with it a little bit back then and the examples from book compiled fine in Linux and in Windows. I heard that the standards had changed but Schildt's Book "Teach Yourself C++" 3rd Edition lived up to those standards.
So heres my problem.
This next bit of code works fine in Windows but I get errors in Red hat Linux 9.0
I'll just write out a little example code:
using namespace std;
cout << "Just a test\n";
This won't code won't compile for me in Red hat 9.
Can someone please show me what I need to do to get this code compiled.
Thanks so much