• Advertisement
Sign in to follow this  

Hello World!

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

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm getting errors when I try to compile the following Hello World program! Pathetic!
// Hello World
// A first C++ program

#include <iostream>

int main()
{
    std::cout << "Hello World!" << std::endl;
    return 0;
}

I get this error: Circular hello_world <- hello_world.o dependency dropped. What am I doing wrong?

Share this post


Link to post
Share on other sites
Advertisement
Your code looks fine. I can't really offer any advice on how to configure Dev-C++ correctly, but I can advise you to drop it entirely. Dev-C++ is horribly outdated and no longer being updated. Visual Studio 2005 Express is the (free) IDE that gets recommended most around here, with good reason. Other alternatives are Code::Blocks or wxDev-C++. I think you'd be helping yourself by getting a more up-to-date compiler and IDE.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement