You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
supercloud
Posted - Jun 28 2006 : 10:05:22 PM Example: int nNum = 5.0;
Now I want to cast 5.0 to int, so I write the code as follows: int nNum = stat|5.0 the suggestion lists with the item "static_cast" popup, after I press Enter, the suggestion is accepted, however, the digit "5" disappeared!