User profile: wc skya

User info
User name:wc skya
History
Joined:
Number of posts:9
Latest posts:

rounding between C++ and java
I have a Dell desktop with an Intel CPU running Linux. When I write a C++ program with this line: ...

different types to ?: operator
But here, x, y, and a are all the same type, which is Base, *p is Derived, and *c is const Derived. ...

different types to ?: operator
namespace { struct Base {}; struct Derived: Base {}; } int main() { Base a; Derived b;...

g++ -O produce wrong result
It's always by luck. If we could design it, we would have found all bugs by now. My original code ...

g++ -O produce wrong result
I think it's worse, since a correct source program compiled to produce the wrong result.

This user does not accept Private Messages

User: wc skya

  • Public profile