Build Error: Error 1

Hello. I got a new problem when trying to compile and run my code. It just gives me "[Build Error] exe: ***["Hello]Error 1". I'm currently using Dev-C++

  //my first program in C++
#include <iostream>

int main()
    std::cout << "Hello World!";

I'm such a noob at this. I really don't understand why these don't work for me? May I have help? Thank you.
Dev-C++ is an IDE. It merely uses a compiler. Which compiler do you have? I bet it is ancient, lacking support for current C++ features.

It just says "Default Compiler".
First, don't use Dev-C++ Beta - it has not been updated since 2005, and is known to have millions of bugs. Other good options you could use instead are Code::Blocks or the Orwell fork of Dev-C++, both of which have been updated regularly (and recently).
Oh! Okay. It seems to be working. Thank you so much!
Topic archived. No new replies allowed.