Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 13984
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: Tue Jun 11 20:38:22 CEST 2024

Total time taken to generate the page: 0.01993 seconds