Sign in to follow this  

Hello World!

This topic is 3724 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
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

This topic is 3724 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this