drewski
Feb 25th, 2001, 11:38 PM
okay this is my first day of learning C++ and i've got this book here "Teach yourself C++ in 24 hours" and I cant get the complier that came with the book to work. here's my code:
#include <iostream.h> /*this brings an error of not being able to open file */
int main()
{
cout << "Hello World!\n"; /* this brings an error of undifined symbol */
return 0;
}
Does anyone know how to fix this? The book says I may need to find a different file name for #include but i cant find out what. i can find the file in the directory where the complier is but it's not working :( please help!
drewski
#include <iostream.h> /*this brings an error of not being able to open file */
int main()
{
cout << "Hello World!\n"; /* this brings an error of undifined symbol */
return 0;
}
Does anyone know how to fix this? The book says I may need to find a different file name for #include but i cant find out what. i can find the file in the directory where the complier is but it's not working :( please help!
drewski