Irrlicht3d.org
::
Blog
|
About Me
|
Twitter
Add comment for
Debugging typos
Posted by:
Enter the missing letter in: "In?ernational"
Text:
[quote][b]Electron[/b] wrote: And the utter irony is that a C compiler, with the right options at least, could warn you about that With a file bug.c ====================================== int main() { int value = 10; int testBit = 0x1; int bitsSet = 0; for (int i=0; i<16; ++i) { if (value & testBit) bitsSet += 1; testBit << 1; } return 0; } ======================================== the compiler output I get is james@Electron:~/temp$ gcc -Wall -pedantic -std=c99 bug.c bug.c: In function ‘main’: bug.c:10: warning: statement with no effect james@Electron:~/temp$[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons