User contributions for 66.46.13.221
2 May 2007
- 21:5921:59, 2 May 2007 diff hist +59 Conditional structures →Run-Time Control Structures: Please use curly braces even for single line conditionals; it's quicker to type two braces than to spend hours hunting down a bug caused by this...
- 21:5621:56, 2 May 2007 diff hist +247 Pointers and references Split some 'C++' examples off into a new 'C' section, to emphasise the fact that this 'C' code is still supported by C++
- 21:4421:44, 2 May 2007 diff hist +21 Sort an integer array →[[C]]: Fixed the variable name 'l' - who on earth uses 'l' for a variable? In a courier font it's almost indistinguishable from '1'
- 21:3821:38, 2 May 2007 diff hist +1 Copy a string →[[PHP]]: fixed missing quote
- 21:3821:38, 2 May 2007 diff hist +4 Copy a string →[[Python]]: Corrected indenting
- 21:3721:37, 2 May 2007 diff hist +24 Copy a string →[[Python]]: - for some reason the example was empty... added it.
- 21:3221:32, 2 May 2007 diff hist −579 String case →[[C]]: Cleaned up the 'C' sample a little- both returning as well as modifying in place is nasty, and completely unnecessary for a minimal 'C' implementation