Search:

Type: Posts; User: snapsleftguitar

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,317

    Yet another homework post

    which of these have the wrong syntax +why?i get some errors.

    int k, h;
    float k = 0.0 + p;
    if (n = 4)
    #define MAX 10000*5
    while (m) { k++; m--}
    char c, h

    who knows out there.not me
  2. Replies
    5
    Views
    3,308

    Difference between & and &&

    I could use some help with some things.whats the difference between,

    if (a & b)
    flag = 0;
    else flag = 1;


    if (a && b)
    flag = 0;
    else flag = 1;
Results 1 to 2 of 2