Thread: Bloodshed version 4 help

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    18

    Bloodshed version 4 help

    when i execute, the ms-dos execution screen pops up and then immediatly closes and i can not run my program. any ideas how to fix this in bloodshed version 4.

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Execution screen? Do you mean your program (DOS console)? Perhaps you forgot to put a getch(); at the end or something?
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    I remember when I made my first program I got mad because my prog would flash real fast then exit. You need something to pause your program otherwise it'll just close itself.

    Don't feel embarresed. We all have made this mistake.

  4. #4
    Pygmy Monkey ErionD's Avatar
    Join Date
    Feb 2002
    Posts
    408
    quoting myself from the other thread you asked in

    Oh and mike, if your program contains only couts or something like that. It will get finished as soon as you start it.
    The computer prints out text really fast so if there isn't any pauses it will get to the end of main and close down the prog immediately

  5. #5
    Registered User
    Join Date
    Jan 2002
    Posts
    106
    I never knew Bloodshed 4 came out already. Maybe its a beta version. Anyways, you forgot the getch() instruction at the end. Be sure to put it before return 0;

  6. #6
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    Version 4 has been out for a while. It's version five that's a beta.

  7. #7
    Registered User
    Join Date
    Jan 2002
    Posts
    106
    ok, I just realize that

  8. #8
    They released the beta to 5? I thought they were still working on it. I need to waddle over to bloodshed and get it then.

    *quack*

  9. #9
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    I hear it isn't too stable right now. Some have even got BSOD's.

  10. #10
    Registered User
    Join Date
    Jan 2002
    Posts
    18
    yo frenchfry...just to clear something up. it's not my first program, just on spring break and don't have my ms visual basic 6.0 at my girlfriends home. also, just because i just started on these threads doesn't mean that i don't know anything about programming, so don't try to talk above me. I just have never used bloodshed before and didn't know about getch().

    .....that's it....i'm done.....!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. No Version info tab in file properties?
    By cpjust in forum Windows Programming
    Replies: 2
    Last Post: 06-03-2008, 03:42 PM
  3. How to set File Version of VC++ 6 dll
    By mercury529 in forum Windows Programming
    Replies: 3
    Last Post: 12-08-2006, 02:49 PM
  4. How to add a file to a project in bloodshed.
    By Smeep in forum C++ Programming
    Replies: 4
    Last Post: 04-22-2005, 09:29 PM
  5. Finding the windows version...
    By The_Muffin_Man in forum Windows Programming
    Replies: 1
    Last Post: 06-10-2004, 11:39 PM