Command line parameters with VAX C?

Richard Stanton LC.YRS at forsythe.stanford.edu
Wed Jan 3 05:56:18 AEST 1990


Using C on my PC, I can pass command line parameters to programs via
the simple:

progname [parameter list]

On a VAX, I type cc [progname] to compile, link [progname...] to
link, and "run progname" to run a program. How do I pass command
line parameters (file names etc) to a program under this system? If
I type

run progname parmlist

I get a message complaining that RUN is being given too many
parameters. HELP RUN is not too informative.

Thanks

Richard Stanton

pstanton at gsb-what.stanford.edu



More information about the Comp.lang.c mailing list