CGI with C

This is a discussion on CGI with C within the A Brief History of Cprogramming.com forums, part of the Community Boards category; recently, i've been playing some online games and i'd like to make my rpg system into one to test it ...

  1. #1
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301

    CGI with C

    recently, i've been playing some online games and i'd like to make my rpg system into one to test it out with the public and see how they like it. I've been looking for CGI tutorials and all i see is perl, perl, perl. Do any of you know of a CGI tute based on C?

    I know C++ already so i can use my knowledge of that and just not use the object oriented concepts.

    Anything you can give me is helpful.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    >>Do any of you know of a CGI tute based on C?


    The big problem you will have relates to how you will depoy it. Many hosts allow you to deploy JSP, ASP, Perl, PHP, CF. But I havent heard of many that would allow you to run a program in C, unless you have you own server, but then you would find it much more productive to look at one of the technologies listed earlier.

  3. #3
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301
    Do you have any experience with something like PHP?

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    No... I do use JSP and servlets though.....

  5. #5
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301
    you can use jsp with CGI?

    hmm... how was it to use and learn?

  6. #6
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    >>you can use jsp with CGI?


    Oh yeah.....


    >>how was it to use and learn?

    Well its based on...wait for it...Java. Still learning a lot of stuff like Custom Tags and bean intergration, but it wasnt too bad.


    What are you trying to do anyway?

  7. #7
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301
    make a text-based online RPG utilizing my newly created system...

    where'd you learn JSP from?

  8. #8
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    >>where'd you learn JSP from?

    Core Servlets & Java Server Pages by Marty Hall. I also hang out at JavaRanch.......


    >>make a text-based online RPG utilizing my newly created system...


    How much work will it be? I might be able to help time permitting....

  9. #9
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301
    It's not going to be too complex: basically you create a character and run through different locales, fighting different enemies and getting items from them, or doing quests... it shouldn't take too long.

  10. #10
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Well, mail me with some details if you want me to try and help. If I got it off the ground I could host it, as my host is JSP enabled. How would you have approached it in C?

  11. #11
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301
    lots of structs =P

    anyhow, i'll send you all of my development documentation that i've got done so far... it's one big word file. I reserve the rights to it, if you copy it, i will know.

  12. #12
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    >>I reserve the rights to it, if you copy it, i will know.


    LOL

    Yeah OK......

  13. #13
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301
    umm... what IS your e-mail addy?

  14. #14
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    I'll PM it

  15. #15
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301
    I've sent it through to the e-mail addy you gave me..

    read through the stuff and tell me what you think...

Page 1 of 2 12 LastLast
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, 02:31 AM
  2. cgi - c++ returns image
    By terracota in forum C++ Programming
    Replies: 1
    Last Post: 08-04-2004, 10: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 Cprogramming.com
    Replies: 2
    Last Post: 04-14-2003, 10: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

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