PIC10B_lecture9

PIC10B_lecture9 - Running things command line using argc...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Running things command line using argc and argv Command Line Arguments A. Barbaro UCLA PIC 10B Running things command line using argc and argv Outline for Today: Command Line Arguments (9.5 of Big C++ ) 1 Running things command line 2 using argc and argv Running things command line using argc and argv Why run things command line? Sometimes, you want to your program to run without user interaction while its running Running things command line using argc and argv Why run things command line? Sometimes, you want to your program to run without user interaction while its running ...but you dont want to have to recompile to change the parameter values. Running things command line using argc and argv An example In grad school, I ran programs on the cluster ... Running things command line using argc and argv An example In grad school, I ran programs on the cluster ... which means the programs were running remotely . Running things command line using argc and argv An example In grad school, I ran programs on the cluster ... which means the programs were running remotely . This meant that I could submit a job and leave it running, or waiting to run, while I went home or to class or to pizza night! Running things command line using argc and argv An example In grad school, I ran programs on the cluster ... which means the programs were running remotely . This meant that I could submit a job and leave it running, or waiting to run, while I went home or to class or to pizza night! Then I could come back later (in the after, the next morning, the next week, etc) to see what had happened and collect the output. Running things command line using argc and argv An example In grad school, I ran programs on the cluster ... which means the programs were running remotely . This meant that I could submit a job and leave it running, or waiting to run, while I went home or to class or to pizza night! Then I could come back later (in the after, the next morning, the next week, etc) to see what had happened and collect the output. This was wicked useful because my runs often spanned several days, but... Running things command line using argc and argv An example In grad school, I ran programs on the cluster ... which means the programs were running remotely . This meant that I could submit a job and leave it running, or waiting to run, while I went home or to class or to pizza night!...
View Full Document

This note was uploaded on 10/23/2011 for the course PIC 10B taught by Professor Wittman during the Winter '08 term at UCLA.

Page1 / 29

PIC10B_lecture9 - Running things command line using argc...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online