Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to convert a char[] to jbytearray Pin
Jaime Olivares9-Oct-08 20:20
Jaime Olivares9-Oct-08 20:20 
Questionset button size dynamically Pin
ani_ikram9-Oct-08 17:26
ani_ikram9-Oct-08 17:26 
AnswerRe: set button size dynamically Pin
Naveen9-Oct-08 17:49
Naveen9-Oct-08 17:49 
GeneralRe: set button size dynamically Pin
ani_ikram9-Oct-08 18:12
ani_ikram9-Oct-08 18:12 
GeneralRe: set button size dynamically Pin
Naveen9-Oct-08 18:23
Naveen9-Oct-08 18:23 
GeneralRe: set button size dynamically Pin
Hamid_RT11-Oct-08 19:18
Hamid_RT11-Oct-08 19:18 
QuestionSSCANF Problem Pin
Cbadboy9-Oct-08 16:22
Cbadboy9-Oct-08 16:22 
AnswerRe: SSCANF Problem Pin
David Crow10-Oct-08 4:02
David Crow10-Oct-08 4:02 
Cbadboy wrote:
Hello I still am having this sscanf problem, last topic died out...


Because it was found to work as expected here.

Cbadboy wrote:
sscanf(line,"spawn%*[ ]=%*[ ]%d%*[\t]%d%*[\t]%d",&npcId, &coords.x); //* = ignore


You are missing an int argument to sscanf(). The result is that it sees the last %d and is popping an extra int from the stack.

"Love people and use things, not love things and use people." - Unknown

"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch


GeneralRe: SSCANF Problem Pin
Cbadboy10-Oct-08 10:26
Cbadboy10-Oct-08 10:26 
GeneralRe: SSCANF Problem Pin
David Crow10-Oct-08 10:30
David Crow10-Oct-08 10:30 
QuestionHelp with Arrays Pin
LilKoopa9-Oct-08 14:42
LilKoopa9-Oct-08 14:42 
AnswerRe: Help with Arrays [modified] PinPopular
Michael Schubert9-Oct-08 19:08
Michael Schubert9-Oct-08 19:08 
GeneralRe: Help with Arrays Pin
LilKoopa10-Oct-08 13:21
LilKoopa10-Oct-08 13:21 
AnswerRe: Help with Arrays Pin
CPallini9-Oct-08 22:43
mveCPallini9-Oct-08 22:43 
QuestionRe: Help with Arrays Pin
David Crow10-Oct-08 4:32
David Crow10-Oct-08 4:32 
QuestionToolBar Combo - Changing Text After Selection? Pin
Kyudos9-Oct-08 11:59
Kyudos9-Oct-08 11:59 
AnswerRe: ToolBar Combo - Changing Text After Selection? Pin
Kyudos12-Oct-08 14:17
Kyudos12-Oct-08 14:17 
QuestionRTL_USER_PROCESS_PARAMETERS.CommandLine is only for current process? Pin
Jack Rong9-Oct-08 9:53
Jack Rong9-Oct-08 9:53 
QuestionRe: RTL_USER_PROCESS_PARAMETERS.CommandLine is only for current process? Pin
CPallini9-Oct-08 10:00
mveCPallini9-Oct-08 10:00 
AnswerRe: RTL_USER_PROCESS_PARAMETERS.CommandLine is only for current process? Pin
Jack Rong9-Oct-08 10:33
Jack Rong9-Oct-08 10:33 
GeneralRe: RTL_USER_PROCESS_PARAMETERS.CommandLine is only for current process? Pin
CPallini9-Oct-08 22:37
mveCPallini9-Oct-08 22:37 
Questionresource leak in destructor? Pin
George_George9-Oct-08 3:27
George_George9-Oct-08 3:27 
AnswerRe: resource leak in destructor? Pin
CPallini9-Oct-08 3:42
mveCPallini9-Oct-08 3:42 
GeneralRe: resource leak in destructor? Pin
George_George9-Oct-08 18:07
George_George9-Oct-08 18:07 
GeneralRe: resource leak in destructor? Pin
CPallini9-Oct-08 21:50
mveCPallini9-Oct-08 21:50 

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.