I was just woundering how i should go about learning c++. Are there any good sites i should know about or an good books? any help would be great thanks.
I was just woundering how i should go about learning c++. Are there any good sites i should know about or an good books? any help would be great thanks.
Yes i tried that but i am to stupid to figure this out. I have visual c++ and i dont understand the #include <iostream.h> part. do i have to make a header or something? it dose not say to. but i always get an error.
#include <iostream.h>
int main()
{
cout<<"HEY, you, I'm alive! Oh, and Hello World!";
return 0;
}
So what error do you get?
Visit entropysink.com - It's what your PC is made for!
I think your problem is that you're not creating a project properly. Your code is fine.
Here's how you do it:
Run VC++
Go to file | New
click the Projects tab
create an empty Win 32 Console Application
now go to file | New
create a C++ source file (it's on the file tab)
paste your code back in and compile. It's that simple. Good luck!