Find the answer to your Linux question:
Results 1 to 3 of 3
I am usually programming some simple mathematical routines in C (or C++). I would like to automatically run a console application like "gnuplot" while my program is running. Is there ...
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    2

    Question How to call an external application from a C source

    I am usually programming some simple mathematical routines in C (or C++). I would like to automatically run a console application like "gnuplot" while my program is running. Is there a simple way to call external console applications in C programming?

  2. #2
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714

    gnuplot

    Try the system function

  3. #3
    Just Joined!
    Join Date
    Apr 2008
    Posts
    2
    Thank you!
    A short reply but very useful. I found that it is also possible to use the "exec" commands

    exec

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...