#### Archived

This topic is now archived and is closed to further replies.

# Problem with Hello World(Dev-C++)

This topic is 5186 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

I''m extemeley new at this(obviously) and I''m following the ''Teach Yourself C++ in 21 days'' online guide. I''m using Dev-C++, and typed out exactly what was shown in the example in the guide, but it turned up some stuff, I just took a couple of screenshots of it, instead of trying to explain. [url]http://img.villagephotos.com/p/2003-12/529922/err1.JPG[/url] and [url]http://img.villagephotos.com/p/2003-12/529922/err2.JPG[/url]

##### Share on other sites
The version of C++ in 21 Days that you''re reading uses the old iostream headers, but it still should have compiled normally (they look like warnings rather than errors) but if it didn''t compile anyway or if you want to get rid of those warnings, use

#include<iostream> //Note lack of ".h"using namespace std; //Make the std namespace global, otherwise you''d need to use std::cout and std::cin rather than just cout and cin

*dances* thanks!