Build Error: Error 1

Jul 6, 2014 at 8:15am
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++ 4.9.9.2

1
2
3
4
5
6
7
  //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.
Jul 6, 2014 at 9:13am
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.

Jul 6, 2014 at 10:06am
It just says "Default Compiler".
Jul 6, 2014 at 10:23am
First, don't use Dev-C++ 4.9.9.2 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).
Jul 6, 2014 at 11:01am
Oh! Okay. It seems to be working. Thank you so much!
Topic archived. No new replies allowed.