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.
Type: Posts; User: chumpp
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.
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...
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...
ah ok i see now. so the code
if(!(TRUE)) is saying not true then execute code correct?
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 ()
it would be 0 if your asking 6+6-6 * 0
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...
Here is my code...
/*
*/
#include <stdio.h>
#include <conio.h>
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
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...
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.
Here is the code.
#include <stdio.h>#include <conio.h>
#include <math.h>
int main()
{
char choice;