Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: Stupid Question

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Stupid Question

    Can C++ programming be used in linux?
    I know this may seem a stupid question but I need to know. I don't even have Linux yet but I hope to get it soon. What is the purpose of PHP and MySQL can someone give me a brife discrition.

  2. #2
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Seattle, WA, USA
    Yes, C++ can. Depending on what distro you use, the GNU Compiler Collection (gcc) may or may not be installed by default, but it is very easily obtainable.

    As far as PHP and MySQL:

    PHP is a serverside-interpreted Internet language used for creating dynamic webpages: that is, webpages that can change their content. MySQL is a type of database. Because PHP can access MySQL databases, you often see these two together. In fact, there is a setup called LAMP:


  3. #3
    $ g++ foo.cpp -o foo
    $ ./foo

    the g++ executable came with my distro, so I just use that one.
    PHP and MySQL go hand in hand. PHP is a programming language that is interpretted by a web server to spit out dynamic HTML. MySQL is simply a database that you can utilize to work with PHP.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts