command line arguments in C programming - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

command line arguments in C programming

digitalranadigitalrana Posts: 19Member a new programmer in C and we have this assignment to do...i'v managed most of it but one of the specifications is that if the user enters "-gnuplot" after the program name in the command line, the program should pass its values to gnuplot and use gnuplot to graph the results of the program...that's what i understand from it...does anybody know how i can pass the results i've obtained to gnuplot?

here's the actual question for that part:
f)If -gnuplot is specified, the output is being pipe to the gnuplot
program and hence will need to have gnuplot commands prepended
and appended.
% a.out -gnuplot |gnuplot
You will need to find out how to use gnuplot from

Thanks in advance.

Sign In or Register to comment.