Can C++ include other languages?

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Can C++ include other languages?

Post 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...
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Post 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+!
User avatar
Don Pwnious
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 833
Joined: Tue Jun 15, 2004 5:32 pm
Location: on the streets wit my j23
Contact:

Post by Don Pwnious »

Oh cool i didn't know that what other languages can it be included with
1/8th time- 14secs
1/8th speed - 110mph
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post 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.
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Post 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.
Post Reply