An "increment" is also a term for a C-shaped explosive charge which can be attached to the tail of a mortar round and givea slight increase in the distance that the round can be fired. (Usage from Marine Corps infantry)
- Start a new article on that. If necessary (I don't know wheter Wikipedia will take care of this or not), create a disambiguation page. -- Rgiusti 14:13, 25 January 2007 (UTC)
There's also The Increment - a paramilitary unit consisting of ex-SAS/SBS types, used by the British Intelligence and Security services for shady ops.
I would like to write about undefined behavior arosen with the misusage of the increment operator in large expressions, such as
i = i++;
which is amazingly common. However, I don't want to write something too specific. What do you guys think? -- Rgiusti 14:13, 25 January 2007 (UTC)
Why is there a section about Haskell's list concatenation function? This has nothing to do with increment, it merely happens to use the same symbol as C/C++/etc. do, and should be removed. 126.96.36.199 (talk) 18:22, 11 April 2009 (UTC)
Most of this page should move
0,1 or 3 !
"may result in having either the value 0 or 1 or even 2." I'm not totaly sure because I don't know how it work exactly. So I can't properly verify. But "int y = x++ + x++" should give :
- 0 if the two increment happen after the sum.
- 1 postincrement as I understand it.
- 3 preincrement as I understand it.
- or even 4 if like the 0 the 2 increments happen before everything else.