Hi! So I tried to create my first program using this 500+ page book beginners guide to c++.
Here is the code.
1 2 3 4 5 6 7 8 9 10
// Program 1.1
#include <iostream.h>
void main()
{
cout << "Hello! ""Congratulations on your first"" C++ program";
}
Unfortunately, it always says that I have one antiquated or deprecated header and that 'main' must return 'int'. Can any of you fix this problem for me?