Click here to Skip to main content
15,893,622 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Writing to status bar (ignore the one below) Pin
nguyenvhn29-Apr-04 20:21
nguyenvhn29-Apr-04 20:21 
GeneralWriting to status bar Pin
Anonymous29-Apr-04 11:55
Anonymous29-Apr-04 11:55 
Generalunable to get OnClick event of ActiveX Control Pin
Chauhan Chirag29-Apr-04 10:58
Chauhan Chirag29-Apr-04 10:58 
GeneralRe: unable to get onclick event of ActiveX Control Pin
f6429-Apr-04 11:07
f6429-Apr-04 11:07 
GeneralRe: unable to get onclick event of ActiveX Control Pin
Chauhan Chirag29-Apr-04 11:12
Chauhan Chirag29-Apr-04 11:12 
GeneralRe: unable to get onclick event of ActiveX Control Pin
f6429-Apr-04 11:30
f6429-Apr-04 11:30 
Generalusing sscanf Pin
act_x29-Apr-04 10:27
act_x29-Apr-04 10:27 
GeneralRe: using sscanf Pin
Rafael Fernández López29-Apr-04 10:35
Rafael Fernández López29-Apr-04 10:35 
I would write:

sscanf(fileString.c_str(),"%s",&obj1.a);
sscanf(fileString.c_str(),"%s",&obj2.d);

instead of:

sscanf(fileString.c_str(),"%d",&obj1.a);
sscanf(fileString.c_str(),"%d",&obj2.d);

and changing int's into strings.

You can't put a string into an int with no castring.

Confused | :confused:


Written by: Rafael Fernández López.


void life ( bool me, bool her )
{

if ( her )
{
me = true ;
}
else
{
me = false ;
}
}

GeneralRe: using sscanf Pin
Paul Ranson29-Apr-04 11:33
Paul Ranson29-Apr-04 11:33 
GeneralCreating a Visual Control Pin
Rafael Fernández López29-Apr-04 10:16
Rafael Fernández López29-Apr-04 10:16 
GeneralRe: Creating a Visual Control Pin
David Crow29-Apr-04 10:27
David Crow29-Apr-04 10:27 
GeneralRe: Creating a Visual Control Pin
Rafael Fernández López29-Apr-04 10:31
Rafael Fernández López29-Apr-04 10:31 
GeneralRe: Creating a Visual Control Pin
David Crow30-Apr-04 2:58
David Crow30-Apr-04 2:58 
QuestionGetThemeRect not returning a value...? Pin
Rail Jon Rogut29-Apr-04 10:14
Rail Jon Rogut29-Apr-04 10:14 
AnswerRe: GetThemeRect not returning a value...? Pin
Rail Jon Rogut31-Jul-04 12:29
Rail Jon Rogut31-Jul-04 12:29 
Generalchecking outlook's inbox Pin
BlackDice29-Apr-04 9:51
BlackDice29-Apr-04 9:51 
GeneralRe: checking outlook's inbox Pin
David Crow29-Apr-04 10:25
David Crow29-Apr-04 10:25 
GeneralRe: checking outlook's inbox Pin
BlackDice29-Apr-04 10:49
BlackDice29-Apr-04 10:49 
GeneralRe: checking outlook's inbox Pin
David Crow29-Apr-04 11:02
David Crow29-Apr-04 11:02 
GeneralRe: checking outlook's inbox Pin
BlackDice29-Apr-04 10:55
BlackDice29-Apr-04 10:55 
QuestionCheck if mouse button is pressed? Pin
Maarten Kools29-Apr-04 9:43
professionalMaarten Kools29-Apr-04 9:43 
AnswerRe: Check if mouse button is pressed? Pin
David Crow29-Apr-04 9:46
David Crow29-Apr-04 9:46 
GeneralRe: Check if mouse button is pressed? Pin
Maarten Kools29-Apr-04 9:50
professionalMaarten Kools29-Apr-04 9:50 
GeneralRe: Check if mouse button is pressed? Pin
Ravi Bhavnani29-Apr-04 9:57
professionalRavi Bhavnani29-Apr-04 9:57 
GeneralRe: Check if mouse button is pressed? Pin
Maarten Kools29-Apr-04 10:01
professionalMaarten Kools29-Apr-04 10:01 

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.