C++ compiler

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

C++ compiler

Post by Red Squirrel »

I want to get back in C++ again. My visual basic class has inspired me to get back to programming. (with something better then vb :D).

I'm looking for a decent compiler to use, other then borland and visual C++. I have borland but it's out dated, and I also have an old enough version of VC++, but wondering if there's any others, possibly free. I still need it to support stuff like resources, making winmain applications etc... Thanks in advance

Archived topic from Anythingforums, old topic ID:1072, old post ID:12896
Honk if you love Jesus, text if you want to meet Him!
megaspaz
Posts: 340
Joined: Wed Dec 18, 2002 10:08 pm

C++ compiler

Post by megaspaz »

look into intel. they make a great c++ compiler. i don't know if the windows version is free though. the linux/unix version is.

Archived topic from Anythingforums, old topic ID:1072, old post ID:13452
Image
Resistance is futile...

Registered Linux User #321628
Anime/Toon Avatars
Other Cool Forums

"Never hold your farts in. They travel up your spine, into your brain, and that's where you get s**tty ideas from..." - Woyaya - January 10, 2004
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

C++ compiler

Post by Red Squirrel »

Thanks I forgot about that one. Can the linux version comile win32 code too? (kind of a dumb question, and I assume the answer is no). But I've been wanting to also do linux program anyway. I want to write a simple DNS server. Bind is too complicated. :lol: Basically I just want a server where I edit a file with the name, and IP, and there would be an expiary date for each entry so when it expires it checks another DNS server to get updated. Bind is much more complex then that. :D

I'm talking as if this would be easy to make... it would not....

Archived topic from Anythingforums, old topic ID:1072, old post ID:13493
Honk if you love Jesus, text if you want to meet Him!
megaspaz
Posts: 340
Joined: Wed Dec 18, 2002 10:08 pm

C++ compiler

Post by megaspaz »

Red Squirrel wrote: Thanks I forgot about that one.  Can the linux version comile win32 code too?  (kind of a dumb question, and I assume the answer is no).  But I've been wanting to also do linux program anyway.  I want to write a simple DNS server.  Bind is too complicated. :lol:  Basically I just want a server where I edit a file with the name, and IP, and there would be an expiary date for each entry so when it expires it checks another DNS server to get updated.  Bind is much more complex then that. :D

I'm talking as if this would be easy to make... it would not....
no, the linux version can't compile win32 binaries.

Archived topic from Anythingforums, old topic ID:1072, old post ID:13523
Image
Resistance is futile...

Registered Linux User #321628
Anime/Toon Avatars
Other Cool Forums

"Never hold your farts in. They travel up your spine, into your brain, and that's where you get s**tty ideas from..." - Woyaya - January 10, 2004
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

C++ compiler

Post by Red Squirrel »

That's what I figured.

Archived topic from Anythingforums, old topic ID:1072, old post ID:13531
Honk if you love Jesus, text if you want to meet Him!
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

C++ compiler

Post by Red Squirrel »

Well back to 1997 borland C++ :P Turns out 99% of the stuff I try with newer compilers spits out hundreds of errors. Basically I'd have to relearn C++, and it would not be easy since if I search the net on how to say, do a winsock application, it shows it the way I've learned, and not the "newer way". You can't teach a new compiler old code. :lol:

Archived topic from Anythingforums, old topic ID:1072, old post ID:14157
Honk if you love Jesus, text if you want to meet Him!
User avatar
fcbayer
Posts: 209
Joined: Thu Jul 22, 2004 1:37 pm

C++ compiler

Post by fcbayer »

curious is the C++ compiler like the one in java or is it different
and in what way
explain :huh:

Archived topic from Anythingforums, old topic ID:1072, old post ID:14862
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

C++ compiler

Post by Red Squirrel »

Not sure since I never used the java compiler. But I guess unlike Java C++ is more widely open so there's more compilers out there, while Java is sort of like visual basic, where you need THAT compiler for it to work. At least I think it's like that... I might be wrong.

Archived topic from Anythingforums, old topic ID:1072, old post ID:14891
Honk if you love Jesus, text if you want to meet Him!
megaspaz
Posts: 340
Joined: Wed Dec 18, 2002 10:08 pm

C++ compiler

Post by megaspaz »

the java compiler compiles source code into intermediary code called byte code which the java virtual machine interprets and executes that. the c++ compiler compiles source code into, for all intents and purposes, native machine code. there is no interpretation in c++ binaries, the computer itself just executes it, not some virtual machine.

Archived topic from Anythingforums, old topic ID:1072, old post ID:14900
Image
Resistance is futile...

Registered Linux User #321628
Anime/Toon Avatars
Other Cool Forums

"Never hold your farts in. They travel up your spine, into your brain, and that's where you get s**tty ideas from..." - Woyaya - January 10, 2004
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

C++ compiler

Post by Red Squirrel »

So in other words C++ is much better. :P

Archived topic from Anythingforums, old topic ID:1072, old post ID:14912
Honk if you love Jesus, text if you want to meet Him!
megaspaz
Posts: 340
Joined: Wed Dec 18, 2002 10:08 pm

C++ compiler

Post by megaspaz »

Red Squirrel wrote: So in other words C++ is much better. :P
depends. with the way java is designed, it is very cross platform. you can compile your source in windows, and have the generated class files run in linux, unix, mac... with c++ you'll have to recompile your source code and most likely if you're using system functions need to port them to the platform you're on. c++ also doesn't do a lot of checking or handling for you. for instance buffer overflows. you have to code for that in c++. in java, such things like that are built in and the coder doesn't have to worry about it. a lot of arguments either way.

Archived topic from Anythingforums, old topic ID:1072, old post ID:14950
Image
Resistance is futile...

Registered Linux User #321628
Anime/Toon Avatars
Other Cool Forums

"Never hold your farts in. They travel up your spine, into your brain, and that's where you get s**tty ideas from..." - Woyaya - January 10, 2004
Locked