Page 1 of 1
C++ compiler
Posted: Mon Sep 27, 2004 5:06 pm
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
).
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
C++ compiler
Posted: Wed Sep 29, 2004 8:20 pm
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
C++ compiler
Posted: Wed Sep 29, 2004 9:26 pm
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.
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.
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
C++ compiler
Posted: Thu Sep 30, 2004 2:54 am
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.
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.
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
C++ compiler
Posted: Thu Sep 30, 2004 9:15 am
by Red Squirrel
That's what I figured.
Archived topic from Anythingforums, old topic ID:1072, old post ID:13531
C++ compiler
Posted: Mon Oct 04, 2004 8:08 pm
by Red Squirrel
Well back to 1997 borland C++
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.
Archived topic from Anythingforums, old topic ID:1072, old post ID:14157
C++ compiler
Posted: Thu Oct 14, 2004 6:57 pm
by fcbayer
curious is the C++ compiler like the one in java or is it different
and in what way
explain
Archived topic from Anythingforums, old topic ID:1072, old post ID:14862
C++ compiler
Posted: Thu Oct 14, 2004 10:58 pm
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
C++ compiler
Posted: Fri Oct 15, 2004 2:11 am
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
C++ compiler
Posted: Fri Oct 15, 2004 3:02 pm
by Red Squirrel
So in other words C++ is much better.
Archived topic from Anythingforums, old topic ID:1072, old post ID:14912
C++ compiler
Posted: Sat Oct 16, 2004 4:10 am
by megaspaz
Red Squirrel wrote: So in other words C++ is much better.
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