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

C / C++ / MFC

 
AnswerRe: How do you include "Download" capabilities in a Web Page? Pin
led mike3-Jul-08 8:01
led mike3-Jul-08 8:01 
GeneralRe: How do you include "Download" capabilities in a Web Page? Pin
Larry Mills Sr3-Jul-08 17:06
Larry Mills Sr3-Jul-08 17:06 
Questionhow to hold the console application. Pin
Nandu_77b3-Jul-08 6:51
Nandu_77b3-Jul-08 6:51 
AnswerRe: how to hold the console application. Pin
krmed3-Jul-08 7:28
krmed3-Jul-08 7:28 
GeneralRe: how to hold the console application. Pin
Nandu_77b3-Jul-08 21:36
Nandu_77b3-Jul-08 21:36 
GeneralRe: how to hold the console application. Pin
krmed4-Jul-08 4:46
krmed4-Jul-08 4:46 
AnswerRe: how to hold the console application. Pin
Saurabh.Garg3-Jul-08 17:53
Saurabh.Garg3-Jul-08 17:53 
QuestionRe: how to hold the console application. Pin
Nandu_77b3-Jul-08 23:19
Nandu_77b3-Jul-08 23:19 
Hi,

system("Pause") is working fine.

But I have a doubt, using system ("Pause")is similar like using getch(). In what way these two differs and which is the best option.

For the same question, some people suggest to use batch file to run the command line exe. But to use batch file we have a problem. This is because while executing command line exe...user also needs to provide some arguments as he needed. So if we use batch file user will not be able to provide the argument as need...he has to edit the batch each time he need to run the exe with different arguments.
So is there any way where user can give the arguments using batch file (rather than editing the batch file).

For now we have 3 options
1) Using getch() -- this is not the right approach
2) system ("pause") -- is this approach is right one?
3) If batch file is correct option -- how to address the batch file problem

Thanks
Nandu
AnswerRe: how to hold the console application. [modified] Pin
Saurabh.Garg3-Jul-08 23:35
Saurabh.Garg3-Jul-08 23:35 
QuestionHow to resize control when screen resolution changed? Pin
hanlei00000000093-Jul-08 5:50
hanlei00000000093-Jul-08 5:50 
AnswerRe: How to resize control when screen resolution changed? Pin
leonigah3-Jul-08 19:06
leonigah3-Jul-08 19:06 
QuestionRegarding propertysheets Pin
Member 46556853-Jul-08 4:57
Member 46556853-Jul-08 4:57 
AnswerRe: Regarding propertysheets Pin
User 24844373-Jul-08 6:11
User 24844373-Jul-08 6:11 
QuestionMschart in VC++ Pin
AnithaSubramani3-Jul-08 3:11
AnithaSubramani3-Jul-08 3:11 
AnswerRe: Mschart in VC++ Pin
KarstenK3-Jul-08 3:16
mveKarstenK3-Jul-08 3:16 
GeneralRe: Mschart in VC++ Pin
AnithaSubramani3-Jul-08 20:06
AnithaSubramani3-Jul-08 20:06 
QuestionHow to get object or handle of control in its event handler function without using its ID ? Pin
chetan_mp20073-Jul-08 2:53
chetan_mp20073-Jul-08 2:53 
AnswerRe: How to get object or handle of control in its event handler function without using its ID ? Pin
Roger Stoltz3-Jul-08 2:55
Roger Stoltz3-Jul-08 2:55 
QuestionRe: How to get object or handle of control in its event handler function without using its ID ? Pin
chetan_mp20073-Jul-08 7:02
chetan_mp20073-Jul-08 7:02 
AnswerRe: How to get object or handle of control in its event handler function without using its ID ? Pin
Roger Stoltz3-Jul-08 7:55
Roger Stoltz3-Jul-08 7:55 
AnswerRe: How to get object or handle of control in its event handler function without using its ID ? Pin
KarstenK3-Jul-08 3:05
mveKarstenK3-Jul-08 3:05 
Questioncom dll problem Pin
rjkg3-Jul-08 2:16
rjkg3-Jul-08 2:16 
AnswerRe: com dll problem Pin
Nibu babu thomas3-Jul-08 2:28
Nibu babu thomas3-Jul-08 2:28 
GeneralRe: com dll problem Pin
rjkg3-Jul-08 2:38
rjkg3-Jul-08 2:38 
AnswerRe: com dll problem Pin
Roger Stoltz3-Jul-08 2:39
Roger Stoltz3-Jul-08 2:39 

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.