Can C++ include other languages?
Moderator: Coders of Rage
- Falco Girgis
- 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?
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...
- Falco Girgis
- 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:
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+!
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+!
- Don Pwnious
- Chaos Rift Devotee
- Posts: 833
- Joined: Tue Jun 15, 2004 5:32 pm
- Location: on the streets wit my j23
- Contact:
- JS Lemming
- Game Developer
- Posts: 2383
- Joined: Fri May 21, 2004 4:09 pm
- Location: C:\CON\CON
- Falco Girgis
- 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:
http://iis1.cps.unizar.es/Oreilly/perl/prog/ch06_04.htmJS Lemming wrote:Where did you get that from? The only languages I knew that where includable where C and assembly.C++ can include other languages
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.