Thread: cross language programming

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    1

    cross language programming

    Im a total newbie and ws just curious about something. Is it possible to program php or perl inside a c++ program or vice versa, program C++ inside a perl or php program?

  2. #2
    Registered User
    Join Date
    Nov 2006
    Posts
    13
    There are some scripting languages such as lua and python that will work with C++. I am not sure fully what you mean though.

  3. #3
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    PHP and Perl and scripting languages and C++ is a compiled language. Now I know you can embed C/C++ in Perl, but the easier way is to just make a library and make a .pm for it.

    PHP is generally used on servers, so using C++ is a bit more complicated, usually done as a module for the server software.

    What are you trying to do, maybe we could help more with details.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Minimax, URGENT :(
    By Dark-MX0Z in forum C++ Programming
    Replies: 6
    Last Post: 11-14-2007, 06:29 AM
  2. What language did they make Java in?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 07-03-2005, 04:18 PM
  3. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  4. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM
  5. Cross language with VB.Net
    By shuesty in forum C++ Programming
    Replies: 2
    Last Post: 10-03-2002, 12:09 AM