Jump to content
  • Advertisement
Sign in to follow this  
Silicon Viking

Hello World!

This topic is 3973 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!