Click here to Skip to main content
15,919,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to use GDI+ 1.1? Pin
Parthi_Appu8-Apr-09 19:05
Parthi_Appu8-Apr-09 19:05 
AnswerRe: How to use GDI+ 1.1? Pin
Iain Clarke, Warrior Programmer8-Apr-09 23:05
Iain Clarke, Warrior Programmer8-Apr-09 23:05 
GeneralRe: How to use GDI+ 1.1? Pin
Parthi_Appu8-Apr-09 23:26
Parthi_Appu8-Apr-09 23:26 
GeneralRe: How to use GDI+ 1.1? Pin
amurgshere10-May-11 2:17
amurgshere10-May-11 2:17 
GeneralRe: How to use GDI+ 1.1? Pin
Iain Clarke, Warrior Programmer10-May-11 2:46
Iain Clarke, Warrior Programmer10-May-11 2:46 
QuestionHow can I delete a file after conversion to another format? Pin
002comp8-Apr-09 18:47
002comp8-Apr-09 18:47 
AnswerRe: How can I delete a file after conversion to another format? Pin
«_Superman_»8-Apr-09 19:26
professional«_Superman_»8-Apr-09 19:26 
GeneralRe: How can I delete a file after conversion to another format? Pin
002comp8-Apr-09 20:14
002comp8-Apr-09 20:14 
AnswerRe: How can I delete a file after conversion to another format? Pin
Eytukan8-Apr-09 19:31
Eytukan8-Apr-09 19:31 
GeneralRe: How can I delete a file after conversion to another format? Pin
002comp8-Apr-09 21:16
002comp8-Apr-09 21:16 
QuestionCRichEditCtrl subclass [modified] Pin
vijayarani8-Apr-09 16:24
vijayarani8-Apr-09 16:24 
AnswerRe: CRichEditCtrl subclass Pin
«_Superman_»8-Apr-09 20:07
professional«_Superman_»8-Apr-09 20:07 
QuestionCan we invoke any event as a Mouse Left/Right button action? Pin
THAQCD8-Apr-09 16:07
THAQCD8-Apr-09 16:07 
AnswerRe: Can we invoke any event as a Mouse Left/Right button action? Pin
Jijo.Raj8-Apr-09 18:04
Jijo.Raj8-Apr-09 18:04 
GeneralRe: Can we invoke any event as a Mouse Left/Right button action? Pin
THAQCD9-Apr-09 8:18
THAQCD9-Apr-09 8:18 
Questionhelp me ... i have some errors Pin
kiemxai8-Apr-09 10:37
kiemxai8-Apr-09 10:37 
AnswerRe: help me ... i have some errors Pin
Stuart Dootson8-Apr-09 11:01
professionalStuart Dootson8-Apr-09 11:01 
Questionproblems with converting from string to int Pin
Aljaz1118-Apr-09 10:32
Aljaz1118-Apr-09 10:32 
AnswerRe: problems with converting from string to int Pin
Stuart Dootson8-Apr-09 10:57
professionalStuart Dootson8-Apr-09 10:57 
GeneralRe: problems with converting from string to int Pin
Aljaz1118-Apr-09 11:26
Aljaz1118-Apr-09 11:26 
GeneralRe: problems with converting from string to int Pin
Stuart Dootson8-Apr-09 12:00
professionalStuart Dootson8-Apr-09 12:00 
Aljaz111 wrote:
CString a="111"
double x=_ttoi[a] doesn't work..


Function call syntax helps...this code (note - it's _tstof, not _ttof - MSDN is a little ambiguous here)

{
   CString a("11");
   const int i = _ttoi(a);
   const double d = _tstof(a);
   std::cout << i << std::endl;
   std::cout << d << std::endl;
}
{
   CString a("11.5");
   const int i = _ttoi(a);
   const double d = _tstof(a);
   std::cout << i << std::endl;
   std::cout << d << std::endl;
}


produces this

11
11
11
11.5


Aljaz111 wrote:
How to delete decimals and dot for decimals for double x with string.format(...,x)?


Sorry, don't know what you mean.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: problems with converting from string to int Pin
Aljaz1118-Apr-09 12:31
Aljaz1118-Apr-09 12:31 
GeneralRe: problems with converting from string to int Pin
Stuart Dootson8-Apr-09 12:46
professionalStuart Dootson8-Apr-09 12:46 
QuestionWhy DllMain is not be called when I load the DLL file? Pin
ernst200205308-Apr-09 9:16
ernst200205308-Apr-09 9:16 
AnswerRe: Why DllMain is not be called when I load the DLL file? Pin
Stuart Dootson8-Apr-09 9:22
professionalStuart Dootson8-Apr-09 9:22 

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.