User profile: lays

User info
User name:lays
History
Joined:
Number of posts:26
Latest posts:

double type I got 0.199999999 when I supposed it to be 0.2, how to resolve it?
when I am doing some calculation, the floating point become 0.19999999 which I need it to be 0.2. Ho...

A simple question, why "const static" class member can be initialized inside declaration?
I know why non-const static member cannot be initialized inside class declaration. It is because cla...

I'd like to know why assignment operator doesn't return a const reference?
thanks for reply, kes. After reading your words, I think I still has no concrete reason to persuade ...

I'd like to know why assignment operator doesn't return a const reference?
[code] classtype& operator=(const classtype&); [/code] I think returning a const may avoid (obj...

problem about virtual method hiding method of baseclass
thanks all!

This user does not accept Private Messages

User: lays

  • Public profile