Page 1 of 1
Can C++ include other languages?
Posted: Tue Sep 07, 2004 6:19 pm
by Falco Girgis
I don't remember where, but I could of sworn that I heard somewhere that other languages may be included to a C++ source. Is this true? I know I'd give anything to be able to have some Perl in my C++ program. Please tell me how, if it is true. Or at least tell me that it isn't true if it isn't...
Posted: Tue Sep 07, 2004 6:47 pm
by Falco Girgis
Holy crap!
C++ can include other languages. The two that struck my mind where that Perl and C were includable. That's awesome! There are so many things that perl is just plain better for... My programs would be way more efficient. Wow, I'm going to start using Perl AND C++. Then I could throw in some random C to say that I have a program using 3 languages. Man, I'd be t3h |_33+!
Posted: Tue Sep 07, 2004 6:56 pm
by Don Pwnious
Oh cool i didn't know that what other languages can it be included with
Posted: Tue Sep 07, 2004 7:35 pm
by JS Lemming
C++ can include other languages
Where did you get that from? The only languages I knew that where includable where C and assembly.
Posted: Tue Sep 07, 2004 7:48 pm
by Falco Girgis
JS Lemming wrote:C++ can include other languages
Where did you get that from? The only languages I knew that where includable where C and assembly.
http://iis1.cps.unizar.es/Oreilly/perl/prog/ch06_04.htm
That is the Perl specific site. I'm sure if you did a little poking around you'd find that C++ can include Pascal, Fortran, C, Perl, Python, and CRAPLOADS of other languages.