Boolean (Bitwise Shift Operators)Duoas, you are probably right. But I try to elaborate on these things so that I learn something myse...
Reading from a file into a StructYour program compiles just fine in g++. Perhaps this is an error with the Microsoft linker? My hi...
Boolean (Bitwise Shift Operators)I have a suggestion: [code] bool odd(int n) { /* Returns true is n is odd */ return (n & 1) ...
quadratic equationTrue. You could even simplify it to simply (a) if you like!
quadratic equation[code]if ( ( (a > 0) || (a < 0) ) & d >= 0) {[/code] In this line, you use the bitwise AND '&' in...
This user does not accept Private Messages