Now i know the answer will probably be painfully simple but i can't see it. I also appoligise to any people offended by the noobieness of this question.
I am starting out in C++ and am trying to learn it, but for some reason i am having problems with this...
#include <iostream.h>
void main()
{
cout << "hello world";
}
Yes laugh all you want. But can someone please inform me why when i try to compile and/or run this file it generates 29 errors. What am i doing wrong?
Once again i appoligise for the question but it has been bugging me for literally months. (Gave up on this problem about 4 months ago)
I haven't tried anything else, so i don't know if this is an isolated problem or not
I am starting out in C++ and am trying to learn it, but for some reason i am having problems with this...
#include <iostream.h>
void main()
{
cout << "hello world";
}
Yes laugh all you want. But can someone please inform me why when i try to compile and/or run this file it generates 29 errors. What am i doing wrong?
Once again i appoligise for the question but it has been bugging me for literally months. (Gave up on this problem about 4 months ago)
I haven't tried anything else, so i don't know if this is an isolated problem or not