Thread: Im a confused ultra-newbie, and I need help! Plz help me!

  1. #16
    Registered User
    Join Date
    Jul 2002
    Posts
    22

    Question

    it's bloodshed dev-c++, and whenever i try to compile something. it says "unable to run program file, process terminated" whenever i try to compile anything at all, including valid programs!!! ive tried to rcompile in both console and windows apps, but NOTHING works

  2. #17
    Registered User billholm's Avatar
    Join Date
    Apr 2002
    Posts
    225

    Talking

    Technically, it should compile. Are you working with an integrated development environment? You should try to see if your compiler is properly configured.

    That program of yours compiled properly on my Borland C++ 3.1 compiler, both on DOS mode and Windows mode.
    All men are created equal. But some are more equal than others.

    Visit me at http://www.angelfire.com/my/billholm

  3. #18
    Registered User
    Join Date
    Jul 2002
    Posts
    22

    Red face

    i done deleted it...i did download borland and still have it...i'd use it if I had the .cfg files needed, but i dont know how to make them or anything...so i cant use borland.

  4. #19
    Registered User billholm's Avatar
    Join Date
    Apr 2002
    Posts
    225
    I'll see if I can upload my Borland here tomorrow
    All men are created equal. But some are more equal than others.

    Visit me at http://www.angelfire.com/my/billholm

  5. #20
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    im sorry, i don't know what to tell you...
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  6. #21
    Registered User
    Join Date
    Jan 2002
    Posts
    387
    Ive heard the newest version of Dev-C++ has bugs, you might want to downgrade to version 4 or whatever, and if you want a real pause, do this:

    Code:
    #include <cstdlib>
    #include <iostream>
    using namespace std;
    
    int main(int argc, char *argv[])
    {
        cout << "Hello Mr\\Mrs World\n";
        system("PAUSE");
        return 0;
    }
    "There are three kinds of people in the world...
    Those that can count and those that can't."

  7. #22
    Registered User billholm's Avatar
    Join Date
    Apr 2002
    Posts
    225

    Exclamation

    Oh shoot I forgot my floppy disks!
    All men are created equal. But some are more equal than others.

    Visit me at http://www.angelfire.com/my/billholm

  8. #23
    Registered User billholm's Avatar
    Join Date
    Apr 2002
    Posts
    225

    Exclamation

    Oh shoot I forgot my floppy disks!
    All men are created equal. But some are more equal than others.

    Visit me at http://www.angelfire.com/my/billholm

  9. #24
    Registered User
    Join Date
    Jun 2002
    Posts
    106
    below code must solve the problem

    #include <iostream>
    using namespace std;

    int main()
    {

    char ch;
    cout <<"hello world bla bla bla"<<endl;
    cin>>ch //waits until you press a charrecter and press enter

    return 0;
    }

  10. #25
    Registered User
    Join Date
    May 2002
    Posts
    23
    Code:
    #include <iostream.h>
    #include <windows.h>
    
    int main ()
    
    {
    
    cout << "Hello!" << endl;
    
    Sleep (2000);
    
    return 0;
    }
    then the program will pause for 2 seconds just before it is shutdown.
    .. zzz soooo tireed.

  11. #26
    Registered User
    Join Date
    Jul 2002
    Posts
    22

    Talking YAY

    Yay! I got dev-c++ 4, and thanks to you guys' help, everything is going smoothly!! thanks!!

  12. #27
    Unregistered
    Guest

    Talking

    Okay newbie good luck with your programming life

  13. #28
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608
    djprob, if you have aim can you instant message me? i need talk to you over aim.
    Last edited by Klinerr1; 07-11-2002 at 10:49 AM.
    Email: [email protected] || AIM: MisterSako || MSN: [email protected]

    -the shroom has spoken

  14. #29
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Look at this part of the FAQ...

    http://www.cprogramming.com/boardfaq.html#pause
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  15. #30
    Registered User Spleeneraclingy's Avatar
    Join Date
    May 2002
    Posts
    16

    ...

    Adrian, it wasn't the pause he was having trouble with, it was DC++5(I loath v5) all is well now.
    "Life's short and hard, like a bodybuilding elf."

Popular pages Recent additions subscribe to a feed