Click here to Skip to main content
15,906,947 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Call Win32 dll from COM dll Pin
Addy Tas4-Dec-11 10:51
Addy Tas4-Dec-11 10:51 
Questionhow can i find CString value in std::map iterator? Pin
Le@rner1-Dec-11 19:15
Le@rner1-Dec-11 19:15 
AnswerRe: how can i find CString value in std::map iterator? Pin
«_Superman_»1-Dec-11 20:49
professional«_Superman_»1-Dec-11 20:49 
GeneralRe: how can i find CString value in std::map iterator? Pin
Le@rner1-Dec-11 20:59
Le@rner1-Dec-11 20:59 
GeneralRe: how can i find CString value in std::map iterator? Pin
«_Superman_»1-Dec-11 21:10
professional«_Superman_»1-Dec-11 21:10 
GeneralRe: how can i find CString value in std::map iterator? Pin
Le@rner2-Dec-11 23:35
Le@rner2-Dec-11 23:35 
GeneralRe: how can i find CString value in std::map iterator? Pin
Addy Tas4-Dec-11 11:00
Addy Tas4-Dec-11 11:00 
Questionconvertion between string and double Pin
Chrissie.ja1-Dec-11 18:51
Chrissie.ja1-Dec-11 18:51 
I have a problem with convertion between string and double as following:

double dValue = 1000;
std::ostrstream oStrStream;
oStrStream << dValue << std::ends;
std::string strValue = oStrStream.str();
//here strValue is "1,000", a comma is added!

//when I use following code to convert, error occurred.
double dValue = strtod( strValue .c_str(), NULL );
//here dValue is "1", it seems "," can't be recognized!

How to avoid this? Is there any way to avoid adding comma when convert double to string?
AnswerRe: convertion between string and double Pin
«_Superman_»1-Dec-11 20:56
professional«_Superman_»1-Dec-11 20:56 
GeneralRe: convertion between string and double Pin
Chrissie.ja1-Dec-11 22:22
Chrissie.ja1-Dec-11 22:22 
GeneralRe: convertion between string and double Pin
KingsGambit1-Dec-11 23:08
KingsGambit1-Dec-11 23:08 
AnswerRe: convertion between string and double Pin
Richard MacCutchan1-Dec-11 22:57
mveRichard MacCutchan1-Dec-11 22:57 
GeneralRe: convertion between string and double Pin
Addy Tas4-Dec-11 11:10
Addy Tas4-Dec-11 11:10 
GeneralRe: convertion between string and double Pin
Richard MacCutchan4-Dec-11 22:39
mveRichard MacCutchan4-Dec-11 22:39 
QuestionGet COM Dll path from an other Exe Pin
MrKBA1-Dec-11 0:01
MrKBA1-Dec-11 0:01 
AnswerRe: Get COM Dll path from an other Exe Pin
«_Superman_»1-Dec-11 4:42
professional«_Superman_»1-Dec-11 4:42 
GeneralRe: Get COM Dll path from an other Exe Pin
Richard MacCutchan1-Dec-11 5:15
mveRichard MacCutchan1-Dec-11 5:15 
GeneralRe: Get COM Dll path from an other Exe Pin
Albert Holguin1-Dec-11 5:24
professionalAlbert Holguin1-Dec-11 5:24 
RantRe: Get COM Dll path from an other Exe Pin
«_Superman_»1-Dec-11 15:40
professional«_Superman_»1-Dec-11 15:40 
QuestionHow to prevent customization of main menu items (File, Edit, View, Window, Help, ...) when using CMFCMenuBar in Visual Studio 2010 Pin
User 2694230-Nov-11 23:08
professionalUser 2694230-Nov-11 23:08 
QuestionHow to return char* Pin
Paulraj G30-Nov-11 19:18
Paulraj G30-Nov-11 19:18 
AnswerRe: How to return char* Pin
«_Superman_»30-Nov-11 19:47
professional«_Superman_»30-Nov-11 19:47 
GeneralRe: How to return char* Pin
Richard MacCutchan30-Nov-11 22:30
mveRichard MacCutchan30-Nov-11 22:30 
GeneralRe: How to return char* Pin
«_Superman_»30-Nov-11 22:35
professional«_Superman_»30-Nov-11 22:35 
GeneralRe: How to return char* Pin
Richard MacCutchan30-Nov-11 23:45
mveRichard MacCutchan30-Nov-11 23:45 

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.