As a new programmer (I literally started learning today) I am working on the traditional "Hello World" program,
- #include <iostream.h>
-
-
-
int main ()
-
{
-
cout << "Hello World!\n";
-
return 0;
-
}
-
and unfortunately I am coming up with the same error, and when I try without the ".h" extension I receive even more errors ranging from
iostream: No such file or directory. and `cout' undeclared (first use this function) to
L2310 (W) Undefined external symbol "PegAppInitialize(PegPresentationManager *)" referenced in "cppeg_add"
All I really need is a way to get around the iostream problem, and i am wondering if a few things might work...
1) Try to program on an XP system, it may be a Vista thing
2) Find an alternate file to use
3) See if my code is a little off (in that case i will find a better guide)...
If you could back me up (as in check my work and possibly tell me if one (or all) of the solutions are worthless i would appreciate it greatly