Due to server problems the website is temporarily offline! Visit http://www.smorgasbordet.com/pellesc/ to download Pelles C.
printf("%u\n", 2^31);
#define m1 2^32 printf("m1 : %u\n", m1); // 34 #define m2 2^31 printf("m2 : %u\n", m2); // 29 printf("m3 : %u\n", 2^44); // 46
It really is a sad sight to see two people who've presumably been using C for years not know that ^ is XOR. pow is in math.h
Quote from: aardvajk on July 06, 2014, 06:51:16 PMIt really is a sad sight to see two people who've presumably been using C for years not know that ^ is XOR. pow is in math.hYou're right! John