my first program ,Devcpp.exe has generated errors and will be closed by windows

This is a discussion on my first program ,Devcpp.exe has generated errors and will be closed by windows within the C++ Programming forums, part of the General Programming Boards category; I知 trying my first program in C++ I知 receiving an error when I try to compile and run the following ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    1

    Question my first program ,Devcpp.exe has generated errors and will be closed by windows

    I知 trying my first program in C++ I知 receiving an error when I try to compile and run the following program

    #include <iostream.h>
    int main()
    {
    cout<<"HEY, you, I'm alive! Oh, and Hello World!";
    return 0;
    }


    The error is:
    Project is not compiled
    Devcpp.exe has generated errors and will be closed by windows
    You will need to restart the application

    My operating system is windows 2000 professional and I知 using bloodshed devc++ Version 2, June 1991
    Please help

    shiraz_deen@hotmail.com

  2. #2
    Registered User Mario's Avatar
    Join Date
    May 2002
    Posts
    317
    Whoa! It's already in version 5

    Download the new beta version 5 (4.9.3.0). Despite being beta, it's stable enough for anything yout throw at it while learning.
    Regards,
    Mario Figueiredo
    Using Borland C++ Builder 5

    Read the Tao of Programming
    This advise was brought to you by the Comitee for a Service Packless World

  3. #3
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    make sure it's going to compile a console program, not a windows program...beyond that my bet is that devc++ v2 has bugs. so i'd update anyway like the person up above said. your logic is sound, so it has to be devc++ causing the error
    PHP and XML
    Let's talk about SAX

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21