Search:

Type: Posts; User: gestva

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    2,496

    Salem: The compiler I´m using seems to be an...

    Salem:
    The compiler I´m using seems to be an Oracle-Tuxedo compiler. The makefile seems to refer to a compiler in the Tuxedo 8.1 directory. The application I´m coding is a Tuxedo application...
  2. Replies
    16
    Views
    2,496

    Salem, I´m not sure. I´ll have to ask about that...

    Salem, I´m not sure. I´ll have to ask about that on Monday. Seems like something in the way the compiler is pre-processing those directives, huh?
  3. Replies
    16
    Views
    2,496

    Ok, I´ll tell you guys what I did to make it...

    Ok, I´ll tell you guys what I did to make it work. But first let me add that I began by following Timmmay´s suggestion. I substituted the (MAX_CHILDREN - children_served) calculation with a literal...
  4. Replies
    16
    Views
    2,496

    Rmatze: Yes, there´s a lot of code between the...

    Rmatze:

    Yes, there´s a lot of code between the declaration of the children_served variable and the logs. However, what´s interesting is that everything gets printed out correctly until the last...
  5. Replies
    16
    Views
    2,496

    Strange arithmetic results

    I´m seeing arithmetic results that are baffling me.
    In my header file, I declare the following:



    #define MAX_CHILDREN 200
    #define APPLES_PER_CHILD 25


    In my code, I have an attribute to...
  6. Andrew: Yup, as Quzah implied, "" has no blank...

    Andrew: Yup, as Quzah implied, "" has no blank space, as it´s the empty string. And as the definition goes, "An empty string is a character array with the NULL character in the zeroth index...
  7. Expecting a null character, but receiving a blank character instead

    Consider the following declaration:



    char error_msg[15] = "";


    I call a function which essentially populates this error message with either an error message (in the case of an error), or...
Results 1 to 7 of 7