U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Commandline-Args with Core-Console-App
Re: Commandline-Args with Core-Console-App [message #17547 is a reply to message #17542] Wed, 20 August 2008 12:07 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
michael wrote on Tue, 19 August 2008 17:34

Simple Question...

How can i use commandline-args when using CONSOLE_APP_MAIN?

CONSOLE_APP_MAIN
{
	some code here... using my commandline-args...
}



const Vector<String>& cl = CommandLine();

and before you ask

SetExitCode(...);

(if you do not set exit code, it is 0).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Smart pointer: Garbage collected by reference counting
Next Topic: Some 'missing' string functions
Goto Forum:
  


Current Time: Fri May 15 22:59:48 GMT+2 2026

Total time taken to generate the page: 0.00807 seconds