Click here to Skip to main content
15,908,437 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondeleting the multiple rows in Grid Pin
reddy harish2-Feb-07 0:20
reddy harish2-Feb-07 0:20 
AnswerRe: deleting the multiple rows in Grid Pin
led mike2-Feb-07 5:05
led mike2-Feb-07 5:05 
GeneralRe: deleting the multiple rows in Grid Pin
reddy harish4-Feb-07 19:03
reddy harish4-Feb-07 19:03 
AnswerRe: deleting the multiple rows in Grid Pin
Hamid_RT3-Feb-07 5:33
Hamid_RT3-Feb-07 5:33 
QuestionHow to remove the AM/PM text in CDateTimeCtrl ? Pin
Hemant kulkarni1-Feb-07 23:19
Hemant kulkarni1-Feb-07 23:19 
AnswerRe: How to remove the AM/PM text in CDateTimeCtrl ? Pin
Naveen2-Feb-07 0:54
Naveen2-Feb-07 0:54 
GeneralRe: How to remove the AM/PM text in CDateTimeCtrl ? Pin
Hemant kulkarni2-Feb-07 2:19
Hemant kulkarni2-Feb-07 2:19 
QuestionVC++ 2005 iostream input problem for unsigned int Pin
Alex Aimer1-Feb-07 23:11
Alex Aimer1-Feb-07 23:11 
Hello,

porting my sipmle (hope, C++ standard conforming) console programs from VC++ 2003 to VC++2005 I found out that I can't read unsigned int from the stream if there is a comma after it.

...main...{
unsigned int ui=2345;
cin >> ui;
cout << ui; // still will show 2345 on input "1,1"
}

Input "1,1" prevents reading 1 to ui. The reason is that deep inside the num_get class of the VC2005 iostream library thinks that in the current locale comma is thousand separator. But there is no reason for it. (I don't even mention locales in my program, so it should be standard "C" locale.)

Any sensible suggestions? I want (and could before) reading

// This also affects boost::uBLAS library at matrix input.

Regards,
Alex

AnswerRe: VC++ 2005 iostream input problem for unsigned int Pin
Mark Salsbery2-Feb-07 5:48
Mark Salsbery2-Feb-07 5:48 
GeneralRe: VC++ 2005 iostream input problem for unsigned int Pin
Alex Aimer2-Feb-07 11:51
Alex Aimer2-Feb-07 11:51 
GeneralRe: VC++ 2005 iostream input problem for unsigned int Pin
cp98762-Feb-07 23:22
cp98762-Feb-07 23:22 
GeneralRe: VC++ 2005 iostream input problem for unsigned int Pin
Alex Aimer5-Feb-07 6:35
Alex Aimer5-Feb-07 6:35 
Questiontime Pin
ikbahrian1-Feb-07 23:04
ikbahrian1-Feb-07 23:04 
AnswerRe: time Pin
_AnsHUMAN_ 1-Feb-07 23:21
_AnsHUMAN_ 1-Feb-07 23:21 
GeneralRe: time Pin
ikbahrian2-Feb-07 4:46
ikbahrian2-Feb-07 4:46 
QuestionSwap Bytes Pin
Aint1-Feb-07 23:01
Aint1-Feb-07 23:01 
AnswerRe: Swap Bytes Pin
Christian Graus1-Feb-07 23:31
protectorChristian Graus1-Feb-07 23:31 
GeneralRe: Swap Bytes Pin
Aint2-Feb-07 2:00
Aint2-Feb-07 2:00 
GeneralRe: Swap Bytes Pin
Michael Dunn2-Feb-07 9:12
sitebuilderMichael Dunn2-Feb-07 9:12 
GeneralRe: Swap Bytes Pin
Christian Graus2-Feb-07 10:21
protectorChristian Graus2-Feb-07 10:21 
QuestionLoad a class depending on a string Pin
S.C.Wong1-Feb-07 22:57
S.C.Wong1-Feb-07 22:57 
AnswerRe: Load a class depending on a string Pin
Waldermort1-Feb-07 23:21
Waldermort1-Feb-07 23:21 
QuestionRe: Load a class depending on a string Pin
David Crow2-Feb-07 2:46
David Crow2-Feb-07 2:46 
AnswerRe: Load a class depending on a string Pin
jhwurmbach2-Feb-07 3:05
jhwurmbach2-Feb-07 3:05 
AnswerRe: Load a class depending on a string Pin
Cedric Moonen2-Feb-07 4:10
Cedric Moonen2-Feb-07 4:10 

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.