Zusammenfassung
Informationen an das Programm können beim Start des Programmes in der Kommandozeile als Parameter (Kommandozeilenargumente) übergeben werden wie im folgenden Beispiel:
-
copy file_a.doc file_b.doc
In diesem Fall ist copy das ausführbare Programm und es erhält 2 Argumente (file_a.doc und file_b.doc). Hierbei soll von der Datei file_a.doc eine Kopie unter dem Namen f ileb. doc angelegt werden.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2003 B. G. Teubner GmbH, Stuttgart/Leipzig/Wiesbaden
About this chapter
Cite this chapter
Goll, J., Bröckl, U., Dausmann, M. (2003). Übergabeparameter und Rückgabewert eines Programms. In: C als erste Programmiersprache. Vieweg+Teubner Verlag. https://doi.org/10.1007/978-3-322-92700-2_15
Download citation
DOI: https://doi.org/10.1007/978-3-322-92700-2_15
Publisher Name: Vieweg+Teubner Verlag
Print ISBN: 978-3-322-92701-9
Online ISBN: 978-3-322-92700-2
eBook Packages: Springer Book Archive