Search:

Type: Posts; User: chumpp

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    1,266

    ok now i understand! this made it much more...

    ok now i understand! this made it much more clear.
    if(!FALSE)
    printf("not false is true\n"); // <-- will print


    Thanks so much! this really did help me.
  2. Replies
    14
    Views
    1,266

    i see. ya i got the basics of everything and im...

    i see. ya i got the basics of everything and im doing well in my classes its just for some reason my brain wont let me understand "!" i see what your saying its just a bit confusing. I dont like...
  3. Replies
    14
    Views
    1,266

    EDIT! ok i get it now. let me recap to make sure....

    EDIT! ok i get it now. let me recap to make sure.


    if(!(str1[c] == ' '&& str1[c+1] == ' ')) so its going to test if both have spaces and if it does then its true. then its saying if(!(true) is...
  4. Replies
    14
    Views
    1,266

    ah ok i see now. so the code if(!(TRUE)) is...

    ah ok i see now. so the code
    if(!(TRUE)) is saying not true then execute code correct?
  5. Replies
    14
    Views
    1,266

    ops sorry yes it would be 12. x = 6 + 6 - 6 * 0...

    ops sorry yes it would be 12. x = 6 + 6 - 6 * 0 the 6 * 0 would be first then the rest would just go from left to right unless we had ()
  6. Replies
    14
    Views
    1,266

    it would be 0 if your asking 6+6-6 * 0

    it would be 0 if your asking 6+6-6 * 0
  7. Replies
    14
    Views
    1,266

    i understand what != is and == but this is what...

    i understand what != is and == but this is what i dont understand .
    if(!(str1[c] == ' '&& str1[c+1] == ' ')) the (!(str1 is whats throwing me off. i know im asking that if str1 has a space...
  8. Replies
    14
    Views
    1,266

    Help with program clearing white space.

    Here is my code...


    /*
    */


    #include <stdio.h>
    #include <conio.h>
  9. Replies
    3
    Views
    1,091

    i just re-did the code. My question is this the...

    i just re-did the code. My question is this the right way to go about putting the values in that new array. or any tips to make it more clean?

    FYI im very new to C
  10. Replies
    3
    Views
    1,091

    array program help.

    i need some direction on how to do this. i need to take the values in my two arrays and find the product of them and store that into my third array. This is what i have so far.



    #include...
  11. ah while(choice != 'e' && choice != 'E'); ya i...

    ah
    while(choice != 'e' && choice != 'E'); ya i ran it before and i didnt get any warnings. Thanks for the hint and im going to turn on the warning messages.
  12. need help with a switch statement inside of a loop.

    Here is the code.


    #include <stdio.h>#include <conio.h>
    #include <math.h>


    int main()
    {
    char choice;
Results 1 to 12 of 12