Click here to Skip to main content
16,016,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ToolTip Pin
john563215-May-08 22:57
john563215-May-08 22:57 
GeneralRe: ToolTip Pin
Iain Clarke, Warrior Programmer15-May-08 23:19
Iain Clarke, Warrior Programmer15-May-08 23:19 
AnswerRe: ToolTip Pin
Hamid_RT15-May-08 23:24
Hamid_RT15-May-08 23:24 
QuestionTemplate Argument Problem Pin
Sarath C15-May-08 21:22
Sarath C15-May-08 21:22 
AnswerRe: Template Argument Problem Pin
Stephen Hewitt15-May-08 21:31
Stephen Hewitt15-May-08 21:31 
GeneralRe: Template Argument Problem Pin
Sarath C15-May-08 22:43
Sarath C15-May-08 22:43 
GeneralRe: Template Argument Problem Pin
prasad_som16-May-08 0:31
prasad_som16-May-08 0:31 
GeneralRe: Template Argument Problem Pin
Stephen Hewitt18-May-08 14:21
Stephen Hewitt18-May-08 14:21 
The following call stack shows what's going on:
std::basic_istream<char,std::char_traits<char> >::operator>>(int & 0xcdcdcdcd) line 103
Foo(int 0x00000003) line 17
main() line 34 + 7 bytes
mainCRTStartup() line 206 + 25 bytes
KERNEL32! 7c816fd7()


As you can see operator>>(int& _X) is being called instead of correct operator for a double. This results in the stream going "bad" when it encounters the period. The program works as expected in VS2008 but not in MSVC6.

Steve

QuestionError while converting int to string... Pin
pl_kode15-May-08 21:12
pl_kode15-May-08 21:12 
AnswerRe: Error while converting int to string... Pin
_AnsHUMAN_ 15-May-08 21:24
_AnsHUMAN_ 15-May-08 21:24 
GeneralRe: Error while converting int to string... Pin
Stephen Hewitt15-May-08 21:34
Stephen Hewitt15-May-08 21:34 
AnswerRe: Error while converting int to string... Pin
Rajesh R Subramanian15-May-08 21:25
professionalRajesh R Subramanian15-May-08 21:25 
AnswerRe: Error while converting int to string... Pin
CPallini15-May-08 21:28
mveCPallini15-May-08 21:28 
QuestionHow to Draw in CMDIFrameWnd Pin
santhoshv8415-May-08 21:04
santhoshv8415-May-08 21:04 
AnswerRe: How to Draw in CMDIFrameWnd Pin
ShilpiP15-May-08 21:38
ShilpiP15-May-08 21:38 
QuestionProblem with Releaseversion of FlexGrid Pin
sunny_vc15-May-08 20:33
sunny_vc15-May-08 20:33 
AnswerRe: Problem with Releaseversion of FlexGrid Pin
chandu00415-May-08 20:59
chandu00415-May-08 20:59 
GeneralRe: Problem with Releaseversion of FlexGrid Pin
sunny_vc15-May-08 21:18
sunny_vc15-May-08 21:18 
GeneralRe: Problem with Releaseversion of FlexGrid Pin
chandu00415-May-08 21:23
chandu00415-May-08 21:23 
GeneralRe: Problem with Releaseversion of FlexGrid Pin
sunny_vc15-May-08 21:31
sunny_vc15-May-08 21:31 
GeneralRe: Problem with Releaseversion of FlexGrid Pin
chandu00415-May-08 21:41
chandu00415-May-08 21:41 
QuestionHow to suspend and resume a process?? Pin
CodeMak15-May-08 20:30
CodeMak15-May-08 20:30 
AnswerRe: How to suspend and resume a process?? Pin
Hamid_RT15-May-08 20:36
Hamid_RT15-May-08 20:36 
GeneralRe: How to suspend and resume a process?? Pin
ThatsAlok6-Jul-09 20:10
ThatsAlok6-Jul-09 20:10 
Questionclasses inVC++ Pin
KANAKESH15-May-08 20:26
KANAKESH15-May-08 20:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.