Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    9

    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
    Location
    Seattle, WA, USA
    Posts
    3,252
    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:

    Linux
    Apache
    MySQL
    Perl/PHP/Python

  3. #3
    Just Joined!
    Join Date
    Dec 2005
    Posts
    6
    $ 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
    $spacer_close

Posting Permissions

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