View Full Version : C and unmanaged C++ compiler
Al6200
01-01-2007, 03:02 PM
Anyone know good compilers for unmanaged C++ (as in not CLR) that has useful features like code hinting, intellisense, and the like. Any recommendations?
kirupa
01-01-2007, 04:00 PM
Eclipse's CDT might work for you: http://wiki.eclipse.org/index.php/CDT :beam:
MTsoul
01-01-2007, 05:35 PM
Visual C++ is good. Just don't include the .NET libraries and start with an empty project. I'm using it and it's really nice :)
Al6200
01-01-2007, 06:51 PM
Yeah but doesn't Visual C++ compile to byte-code for CLR??? How do I get around that?
I have another question. In x86, each memory address is a number of 0 to 4.3 billion (32 bits). But if this is the case, then how can Pentium 4 processors deal with 100 gigabyte Hard Drives.
Also, I've read that in x86 the memory model is segmented. What I mean is there might be 16 registers, but the program running is only aware of 4 of them. But assembly only executes one instruction after another, so how does the processor differentiate between diffrent programs? I thought time-sharing was done by Windows...
MTsoul
01-01-2007, 07:00 PM
Visual C++ compiles normal executables just fine. As long as you set it not to compile for CLR, it'll compile normally.
As for your second question, you might want to start a new thread.
Al6200
01-02-2007, 03:11 PM
Is that in the options menu? I see in settings something that says "Support for CLR". Is that it?
Also, can C# publish real binary executables. How is an exe diffrent from a .bin from a content standpoint. I thought they both held direct binary instructions for the processor.
Also, are most programs written today in x86 or x86-64?
Sorry for all the questions, but I'm a high level coder that's just started to go low-level. It's all a little confusing.
bombsledder
01-02-2007, 03:14 PM
do you mean native c++ ? i use devcpp and its one of my favorite programs to compile cpp and if im making a gui i use visual c++ which can compile native and managed
MTsoul
01-02-2007, 03:17 PM
Is that in the options menu? I see in settings something that says "Support for CLR". Is that it?
Also, can C# publish real binary executables. How is an exe diffrent from a .bin from a content standpoint. I thought they both held direct binary instructions for the processor.
Also, are most programs written today in x86 or x86-64?
Sorry for all the questions, but I'm a high level coder that's just started to go low-level. It's all a little confusing.
By default, it compiles to binaries, not for .NET if you create a new project with the emptyproj setting.
I don't know anything about C#. .exe and .bin just have different extensions. On windows, it's .exe and on Linux (maybe Macs? I don't know) it's .bin. They are both binary instructions for the processor.
Most programs are written for x86 32 bit, since most processors and most other programs are for 32 bit.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.