ERROR messages

This is a discussion on ERROR messages within the C Programming forums, part of the General Programming Boards category; hi I'm new to C programming and I have noticed that the C compiler do not help you a lot ...

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    30

    ERROR messages

    hi

    I'm new to C programming and I have noticed that the C compiler do not help you a lot when it comes to run time errors. btw I use visual C++.... I've been trying some FILE I/O testing and I keep on getting windows error messages.
    for example:

    fileIO.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
    Please tell Microsoft about this problem.
    debug
    send error report
    don't send


    I was wondering if this kind of error is normal or does it have to do with my computer..

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,672
    Normally, run the debug build, not the release build, and use the debugger to start the program.
    That way at least, when it does fail, it is caught by the debugger and you're shown where in the code the problem is.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Feb 2005
    Posts
    30
    i see
    thanks

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