Thread: CGI Programming in C/C++

  1. #1
    Registered User
    Join Date
    Aug 2002

    Question CGI Programming in C/C++

    I'd like to know if it's possible to use C/C++ to write CGI programs. I guess you would have the executable on your web space and in the web page you would have to pass variables to the program for it to run, but I'm not too sure on how to do that.

    Does anyone know any ways of doing this, or any good sites to learn it from?

    Regards, Paul.

  2. #2
    Registered User moi's Avatar
    Join Date
    Jul 2002
    hello, internet!

  3. #3

    CGI with C/C++

    It is possible you may only be able to use Compiled C/C++ Scripts with Windows servers, also depending on your servers configuration. has tutorials and prewritten C/C++ CGI applications and tutorials on writting them.

    I am certinly a fan of C/C++ and prefer to do all of my console programming with it but I do prefer using PHP for my web scripts. I find it easier compatible with more servers and platforms. is an excelent resource for that.

    ) Be Happy!

  4. #4
    Registered User
    Join Date
    Jun 2002
    it is possible check there are a lot of pre made examples
    C++ Makes you Feel Better

    "Gravity connot be held reponsible for people falling in love"--Albert Einstein

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. CGI program help please
    By Lince in forum C Programming
    Replies: 3
    Last Post: 08-01-2007, 01:31 AM
  2. cgi - c++ returns image
    By terracota in forum C++ Programming
    Replies: 1
    Last Post: 08-04-2004, 09:41 PM
  3. testing a cgi script on my computer
    By Bigbio2002 in forum C Programming
    Replies: 1
    Last Post: 12-14-2003, 07:26 PM
  4. CGI Mailing
    By sean in forum A Brief History of
    Replies: 2
    Last Post: 04-14-2003, 09:56 PM
  5. Problem with cgi script - can't rename files
    By bjdea1 in forum C Programming
    Replies: 2
    Last Post: 12-12-2001, 04:09 PM