Scripting Outlook Journal
Which is the best DN site?
Tunnel visions
Programming Links
Code obfuscator!
« Managing your company to death
» Newbie SQL: Current week range
I picked up The Practice of Programming by the great masters, Kernighan and Pike. I’m planning to find time to read a chapter every day and then note down the outline here. And then every month, wherever I’m, come back and browse through it!
Can you figure out what is wrong with this macro in C?
#define isupper(c) ((c) >= 'A' && (c) <= 'Z')
Try calling it like while (isupper(c = getchar()) and you
will know what is wrong! Hint - instead of it being a macro, write it as a
function.
Or, use a stylish language that simply won’t require you to waste time on making readable code.