Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWriting to status bar (ignore the one below) Pin
RalfPeter29-Apr-04 11:57
RalfPeter29-Apr-04 11:57 
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 
Is using sscanf with structs harmful

Say i have two structs
struct {
int a ;
int b;
}A;
struct {
char c;
int d;
};B

void main()
{
struct A obj1;
struct B obj2;
string fileString;
.
.
sscanf(fileString.c_str(),"%d",&obj1.a);
sscanf(fileString.c_str(),"%d",&obj2.d);
}

Is there a bug in this ? Do i have to do some type of casting ?






}
GeneralRe: using sscanf Pin
Rafael Fernández López29-Apr-04 10:35
Rafael Fernández López29-Apr-04 10:35 
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 

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.