0

Hello,
I'm learning C++ and i want to know how i can build a program written in C++ that can execute other programs, like firefox.

Thanks,
Nathan Paulino Canpos

4
Contributors
6
Replies
7
Views
8 Years
Discussion Span
Last Post by chiwawa10
0

In unix it is execv ,etc , you do not need to launch firefox to send data from a website.

0

Thanks for all, but i learned myself, for those who needs here is it:

#include <stdlib.h>
#include <stdio.h>
using namespace std;

int main( int argc, char *argv[] )
{
    (void)system( "gedit" );
  return(0);
}

Thanks!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.