Search:

Type: Posts; User: jaymax

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    962

    sizeof iint-vs-long_int

    Not sure if this is hardware, software or compiler dependent

    $ uname -a
    CYGWIN_NT-5.1 machinename 1.7.28(0.271/5/3) 2014-02-09 21:06 i686 Cygwin

    On a 32 bit XP SP 3 platform

    wrote a small...
  2. Replies
    4
    Views
    1,313

    Thanks! Matticus and Yanin, your replies made it...

    Thanks! Matticus and Yanin, your replies made it clear: I had been stuck thinking of "(x%2==0) and (x%3==0)" in terms of some 'unknown to me' format specifier and not of the % being the modulus or...
  3. Replies
    4
    Views
    1,313

    Logic evaluation of an expression

    I am having a little problem with a logic evaluation of a simple expression,
    perhaps I need a nudge in the right direction:
    Given an assignment x = 9,
    I am trying to evaluate the following...
  4. Replies
    2
    Views
    2,415

    'For loop' problem! probably AVAST induced.

    $ cat /cygdrive/j/Comp_programs/C/24_Hrs/8/OCR_DOC-8.3.c

    /* 08L03.C-. Using the logical OR operator */
    #include <stdio.h>

    int main()
    {
    int num;

    printf("Enter a single...
  5. Replies
    2
    Views
    2,415

    'For loop' problem!

    Running cygwin on i386 platform w/ XP Pro SP2:

    Program seems to compile fine
    Src -


    /* 08L03.C-. Using the logical OR operator */
    #include <stdio.h>

    int main()
Results 1 to 5 of 5