What happened !!!???

This is a discussion on What happened !!!??? within the C++ Programming forums, part of the General Programming Boards category; I was writing a program in turbo c++ version3 in which the user has to type in 'exit' to leave ...

  1. #1
    I'm Back
    Join Date
    Dec 2001
    Posts
    556

    Question What happened !!!???

    I was writing a program in turbo c++ version3 in which the user has to type in 'exit' to leave the program. The program displays 'press any key to exit... ' and waits for getch() and comes back to the coding screen. But the program exits out of the c++, DOS mode and returns to windows displaying the foll error msg

    -------
    The program tried to execute an invalid instruction.

    Fault Location: 0000:5481
    Interrupts in service: None
    -------




    I go back to dos mode and again run the program from the c++ edit window this happens again


    SOMEBODY TELL ME WHATS WRONG

  2. #2
    Unregistered
    Guest
    post your code

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Pls repair my basketball program
    By death_messiah12 in forum C++ Programming
    Replies: 10
    Last Post: 12-11-2006, 05:15 AM
  2. So what ever really happened to prelude?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 34
    Last Post: 08-31-2004, 04:52 AM
  3. What happened the Open source poll
    By spidereen in forum C++ Programming
    Replies: 1
    Last Post: 04-08-2003, 02:53 PM
  4. What happened?
    By KrAzY CrAb in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 02-25-2003, 07:10 AM
  5. WHat happened to the master...
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 02-04-2003, 03:53 AM

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