Talk:C Programming/Operators and type casting

So you can't use modulus with non-integers? - 212.149.219.87 18:01, 14 May 2007 (UTC)

Nope. How would it work? There is an fmod function in  that approximates floating-point modulus. -- 76.99.235.121 (talk) 22:54, 19 March 2009 (UTC)

Clarity
I found this page a little difficult to understand. Examples for each operator would be very helpful. Also, I know this book is not intended for programming newbs, but I have programmed a bit with python and don't know what an "identifier" is. I couldn't find it in the last few pages either. hypergeek14 (discuss • contribs) 17:55, 7 June 2011 (UTC)
 * I agree; I have a degree in Computer Science and I had to read this page a couple of times in multiple sittings. Finsternish (discuss • contribs) 13:20, 24 August 2015 (UTC)

Agreed. This section of the book assumes much more background on the reader's part than the rest. The section heading 'simple math' is misleading. Suggest renaming to something more appropriate and moving to a different section.

I agree as well. I don't really think changing the title would be useful. To be useful to a larger audience, this entire entry needs to be rewritten to be less academic and more like the sections leading up to it.

Linux issues
conio.h is Windows/DOS specific, this program won't compile under GNU/Linux.

Shift and rotate
The syntax of the shift left and shift right operators is not clear from this text, which is frustrating if you're trying to test things out as you read them. I had to look that up separately, and was confused about "x >> shift" as there was no variable declared called shift. I think you should make it clear that "shift" refers to the amount by which you are shifting. Finsternish (discuss • contribs) 13:17, 24 August 2015 (UTC) Edited Finsternish (discuss • contribs) 13:18, 24 August 2015 (UTC)