Quote: "printf("%dn%dn", ++a, a++); "
Im going to take a stab...
the first ++a means to increment by 1 right away then print a newline:
1
The a++ means to increment after the c statement is finished, but before the increment takes place we need to print out a's current value of "1" so the answer is
1
1
however, a ends up with the value of 2
Quote: "I think that a part of the problem is that there are a lot of macho C coders out there that code for unreadability, trying to see how many side-effects they can include in a single line of code.
"
No...While im not "macho", I code for readability. And I hear (I have to experienced this myself) but professional programmers spend a lot of time making thier progams both elegant and readable because other team members need to be able to easily understand each other's code. Doing this saves a mint in maintenece costs of programs...
Quote: "No need - get Visual Studio or GCC or something else, and the plug-in from IanM and voi la Dark C..."
Well, there are plugins for basic, but that dosent make it Dark Basic or nearly as effective as DB.
If someone made a "Dark C" which included an easy to use IDE and many of the premade functons and abilites of DB, I think it would be pretty good.
BTW, Im in the process of setting up that plugin, ill let you know how it goes.
Amist the Blue Skies...