CGI Programming in C/C++

This is a discussion on CGI Programming in C/C++ within the C++ Programming forums, part of the General Programming Boards category; I'd like to know if it's possible to use C/C++ to write CGI programs. I guess you would have the ...

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    1

    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
    moi
    moi is offline
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    hello, internet!

  3. #3
    Staz
    Guest

    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.
    http://cgi.resourceindex.com 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. http://php.resourceindex.com is an excelent resource for that.

    ) Be Happy!

  4. #4
    Registered User
    Join Date
    Jun 2002
    Posts
    106
    it is possible check www.cgi-resources.com 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, 06:26 PM
  4. CGI Mailing
    By sean in forum A Brief History of Cprogramming.com
    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, 03:09 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21