Thread: C questions

  1. #31
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    639
    I was wondering if it is possible to pull this very same tricks with C.
    You mean write something in one language, then write the very same thing in a different one? No, this is generally impossible. Ebay and the Bible were special cases.

  2. #32
    spaghetticode
    Guest
    Quote Originally Posted by adeyblue View Post
    You mean write something in one language, then write the very same thing in a different one? No, this is generally impossible. Ebay and the Bible were special cases.
    Ymmd!

  3. #33
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    Quote Originally Posted by malvado View Post
    So i am asking the same question again. It is my last question about c(4 now, lol). I heard ebay was originally written in perl, then rewritten in c++, and then in java and xsl(?). I was wondering if it is possible to pull this very same tricks with C. Can you actually use c in websites or to write them? Is it possible? Thank you if you answer. Please just say yes or no.
    If you understand the two programming languages well enough, you can translate. Take an example. You rewrite something originally in C, in say, C++, the reasons you chose to do that now should be important to you. eBay being originally written in Perl is irrelevant if it's in Java and something else now. I mean, that happening in eBay's history doesn't say anything about what Perl can do by itself. It could be that eBay.com is only using Java because there are a plethora of Java programmers willing to code eBay's inner cogs.

    Yes, you can use C to write parts of websites, it's called CGI.
    The Common Gateway Interface (CGI) is a standard (see RFC 3875: CGI Version 1.1) that defines how web server software can delegate the generation of web pages to a stand-alone application, an executable file. Such applications are known as CGI scripts; they can be written in any programming language, although scripting languages are often used.
    Just because eBay doesn't use Perl doesn't mean you can't use Perl: it's still a scripting language. Just like you could use C. You just have to know how to do Web programming.

  4. #34
    Registered User
    Join Date
    May 2011
    Posts
    21
    Thanks 4 the answers guys.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. questions....so many questions about random numbers....
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2009, 08:47 AM
  2. few questions
    By BEN10 in forum C Programming
    Replies: 11
    Last Post: 07-06-2009, 07:47 AM
  3. Some questions about DSO's...
    By LinuxCoder in forum Linux Programming
    Replies: 2
    Last Post: 04-11-2006, 09:47 AM
  4. PM - questions
    By dbaryl in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 09-09-2002, 12:45 AM
  5. PHP Questions
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 06-07-2002, 11:51 AM