Hi,
Apologies if this is a slightly dumb question, I'm desperately trying to refresh my brain on C...
I want to save the value of argv[1] (from my command line arguments - it's a filename) into a variable so I can use it in a printf statement later in the program.
Can anyone tell me how?!
Thanks,
Emily



LinkBack URL
About LinkBacks



