Search:

Type: Posts; User: X_e_e_k

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    1,558

    well, yea... an if statement would suffice, but...

    well, yea... an if statement would suffice, but it's making calls to another subroutine, if something in that subroutine returns a value, but there's a separate error (aside from the return value)...
  2. Replies
    11
    Views
    1,558

    yea that empty string was just an example for...

    yea that empty string was just an example for something on a bigger scale, i'm starting to get the drift of how it affects the flow of code...

    are you guys thinking about program runtime error...
  3. Replies
    11
    Views
    1,558

    here's my take on it, but i don't know if i'm...

    here's my take on it, but i don't know if i'm right
    int ex; //some global variable

    int routine1() {
    int reply = routine2();
    if (ex) {
    // handle the exception
    }
    }
    /* would be like this...
  4. Replies
    11
    Views
    1,558

    the Try keyword in visual basic, how so in c?

    I'm porting some code of a game I found on the web to C. It was written in Visual Basic 2005.

    It goes a little something like..
    Try
    Do
    'code block
    Loop Until Not Change
    Catch ex...
Results 1 to 4 of 4