Click here to Skip to main content
15,904,653 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Blobk Key Pin
CPallini17-Mar-10 22:58
mveCPallini17-Mar-10 22:58 
GeneralRe: Blobk Key Pin
john563217-Mar-10 23:05
john563217-Mar-10 23:05 
GeneralRe: Blobk Key Pin
CPallini17-Mar-10 23:08
mveCPallini17-Mar-10 23:08 
AnswerRe: Blobk Key Pin
Adam Roderick J17-Mar-10 23:27
Adam Roderick J17-Mar-10 23:27 
QuestionHow do I get the notification when the user modifies the DNS server address? Pin
EverettJF17-Mar-10 20:11
EverettJF17-Mar-10 20:11 
Questionhow to draw a sector of a circle? Pin
tho_mee17-Mar-10 13:55
tho_mee17-Mar-10 13:55 
AnswerRe: how to draw a sector of a circle? Pin
Avi Berger17-Mar-10 15:23
Avi Berger17-Mar-10 15:23 
AnswerRe: how to draw a sector of a circle? Pin
Adam Roderick J17-Mar-10 18:25
Adam Roderick J17-Mar-10 18:25 
AnswerRe: how to draw a sector of a circle? Pin
Eugen Podsypalnikov17-Mar-10 21:14
Eugen Podsypalnikov17-Mar-10 21:14 
GeneralRe: how to draw a sector of a circle? Pin
tho_mee27-Mar-10 6:12
tho_mee27-Mar-10 6:12 
AnswerRe: how to draw a sector of a circle? Pin
Iain Clarke, Warrior Programmer18-Mar-10 10:43
Iain Clarke, Warrior Programmer18-Mar-10 10:43 
QuestionUAC and restarting an external service in my MFC app Pin
Sternocera17-Mar-10 12:45
Sternocera17-Mar-10 12:45 
AnswerRe: UAC and restarting an external service in my MFC app Pin
Mohan Ramachandra17-Mar-10 19:10
Mohan Ramachandra17-Mar-10 19:10 
AnswerRe: UAC and restarting an external service in my MFC app Pin
BIJU Manjeri17-Mar-10 19:48
BIJU Manjeri17-Mar-10 19:48 
GeneralRe: UAC and restarting an external service in my MFC app Pin
Sternocera18-Mar-10 0:13
Sternocera18-Mar-10 0:13 
Questionprevent scientific notation for integers [Solved] Pin
b-rad31117-Mar-10 10:25
b-rad31117-Mar-10 10:25 
Confused | :confused: Hello everyone,

I'm having problems with large integers that get stored in a stream and then transferred to a string variable showing up in scientific format once the string "string_first_col_intcheck1" is printed out (despite using "unsetf" options). Any ideas?

int int_value=1150000;
ostringstream oss1;
oss1.unsetf(ios::scientific);
oss1.unsetf(ios::showpoint);
oss1.unsetf(ios_base::fixed);
oss1.unsetf(ios::scientific);
					
oss1<<int_value;
							
string first_col_intcheck1;
first_col_intcheck1=oss1.str();


Result is that "first_col_intcheck1" is printed out as "1.15e+006"
modified on Friday, March 19, 2010 10:11 AM

AnswerRe: prevent scientific notation for integers Pin
Gwenio17-Mar-10 10:56
Gwenio17-Mar-10 10:56 
GeneralRe: prevent scientific notation for integers Pin
b-rad31117-Mar-10 11:00
b-rad31117-Mar-10 11:00 
QuestionDeleting a quadtree [modified] Pin
Chidori-chan17-Mar-10 9:56
Chidori-chan17-Mar-10 9:56 
QuestionRe: Deleting a quadtree Pin
David Crow17-Mar-10 10:03
David Crow17-Mar-10 10:03 
AnswerRe: Deleting a quadtree Pin
krmed17-Mar-10 10:08
krmed17-Mar-10 10:08 
GeneralRe: Deleting a quadtree Pin
Chidori-chan17-Mar-10 10:17
Chidori-chan17-Mar-10 10:17 
QuestionWindows 7 compiled project does not run on Windows XP anymore Pin
Joschwenk66617-Mar-10 8:20
Joschwenk66617-Mar-10 8:20 
AnswerRe: Windows 7 compiled project does not run on Windows XP anymore Pin
Eugen Podsypalnikov17-Mar-10 9:20
Eugen Podsypalnikov17-Mar-10 9:20 
AnswerRe: Windows 7 compiled project does not run on Windows XP anymore Pin
Richard MacCutchan17-Mar-10 12:18
mveRichard MacCutchan17-Mar-10 12:18 

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.