Search:

Type: Posts; User: snapsleftguitar

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,088

    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,188

    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