Click here to Skip to main content
16,011,647 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Execute a function using command line parameters. Pin
Don Box17-Jan-08 19:59
Don Box17-Jan-08 19:59 
GeneralRe: Execute a function using command line parameters. Pin
CPallini17-Jan-08 21:05
mveCPallini17-Jan-08 21:05 
GeneralRe: Execute a function using command line parameters. Pin
CodingLover17-Jan-08 21:49
CodingLover17-Jan-08 21:49 
GeneralRe: Execute a function using command line parameters. Pin
CPallini17-Jan-08 22:04
mveCPallini17-Jan-08 22:04 
GeneralRe: Execute a function using command line parameters. Pin
CodingLover17-Jan-08 22:34
CodingLover17-Jan-08 22:34 
QuestionRe: Execute a function using command line parameters. Pin
CPallini17-Jan-08 22:46
mveCPallini17-Jan-08 22:46 
GeneralRe: Execute a function using command line parameters. Pin
CodingLover17-Jan-08 22:54
CodingLover17-Jan-08 22:54 
GeneralRe: Execute a function using command line parameters. Pin
CPallini17-Jan-08 23:00
mveCPallini17-Jan-08 23:00 
Eranga Thennakoon wrote:
You mean in debug mode. It seems work fine. That's why I confused. Go through step by step there.


What I mean is:

(1) put a break point on the following line
n = atoi(argv[1]);


(2) use the debugger to follow program execution step by step (F10 key) and see what happens (and when appropriate use F11 to step into functions).

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

[my articles]


GeneralRe: Execute a function using command line parameters. Pin
CodingLover17-Jan-08 23:03
CodingLover17-Jan-08 23:03 
GeneralRe: Execute a function using command line parameters. Pin
CPallini17-Jan-08 23:09
mveCPallini17-Jan-08 23:09 
GeneralRe: Execute a function using command line parameters. Pin
CodingLover22-Jan-08 18:41
CodingLover22-Jan-08 18:41 
GeneralRe: Execute a function using command line parameters. [modified] Pin
CPallini22-Jan-08 21:15
mveCPallini22-Jan-08 21:15 
GeneralRe: Execute a function using command line parameters. Pin
CodingLover22-Jan-08 21:41
CodingLover22-Jan-08 21:41 
GeneralRe: Execute a function using command line parameters. Pin
CPallini22-Jan-08 21:49
mveCPallini22-Jan-08 21:49 
GeneralRe: Execute a function using command line parameters. Pin
CodingLover22-Jan-08 22:14
CodingLover22-Jan-08 22:14 
GeneralOpening a running process programmatically Pin
lctrncs17-Jan-08 18:46
lctrncs17-Jan-08 18:46 
GeneralRe: Opening a running process programmatically Pin
Iain Clarke, Warrior Programmer18-Jan-08 2:34
Iain Clarke, Warrior Programmer18-Jan-08 2:34 
GeneralRe: Opening a running process programmatically Pin
Member 75496018-Jan-08 7:37
Member 75496018-Jan-08 7:37 
GeneralFull screen stop function Pin
gentleguy17-Jan-08 17:48
gentleguy17-Jan-08 17:48 
GeneralRe: Full screen stop function Pin
Hamid_RT17-Jan-08 17:56
Hamid_RT17-Jan-08 17:56 
GeneralRe: Full screen stop function Pin
gentleguy17-Jan-08 18:04
gentleguy17-Jan-08 18:04 
GeneralRe: Full screen stop function Pin
Nishad S17-Jan-08 19:38
Nishad S17-Jan-08 19:38 
GeneralRe: Full screen stop function Pin
gentleguy17-Jan-08 20:19
gentleguy17-Jan-08 20:19 
GeneralRe: Full screen stop function Pin
Cedric Moonen17-Jan-08 20:33
Cedric Moonen17-Jan-08 20:33 
GeneralRe: Full screen stop function Pin
Nishad S17-Jan-08 23:37
Nishad S17-Jan-08 23:37 

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.