151 karma · joined August 19, 2015
#include <stdio.h>
int main(int argc, char *argv[]) {
int num = -3;
fprintf(stdout, "%d\n", num);
return 0;}
Some people say whole numbers are not negative, while other people say zero is also not a whole number.
I highly recommend these two short books:
https://www.amazon.com/Treading-Python-Beginning-Programming...
http://www.amazon.com/Treading-Python-2-Intermediate/dp/1490...
http://norvig.com/21-days.html
Learning C is difficult because you need to know how the machine actually works. Trust me, there are no shortcuts. The year can be 2036, learning C will be the same.
With that said, these books are excellent:
http://www.amazon.com/Programming-Language-Brian-W-Kernighan...
http://www.amazon.com/Expert-Programming-Peter-van-Linden/dp...
http://www.amazon.com/Primer-Plus-6th-Developers-Library/dp/...