microsoft vs. bloodshed
So don't use "Microsoft's c++". VS is perfectly capable of compiling standards compliant code.
The C++ standard is called "ANSI C++". There really isn't a whole lot of stuff specific to VC++, other than the affeormentioned #pragma directive (not that I've seen, anyway). Get a book or read a tutorial that teaches you ANSI C++, and then you won't have to worry about using Microsoft specific code. Also, even if you don't think you'll ever use VC++ Express, you may as well download it now anyway, because this November it stops being free and will start costing $50. You never know when you might need it.
Quote:Original post by shred master
free forever? i thought it was a year. but dudes, the only reason i keep goin on about ms specific and everything is cos i wanna learn c++, not microsofts visual c++
Visual C++ is the name of the IDE, that's all. The compiler that comes with the latest versions of VC++ is among the most standards conforming in existence. Like most compilers, there are some nonstandard extensions that you can use (ie. pragma once).
Perhaps you're thinking of managed C++ (C++.NET)? That's something else entirely, and it's reasonably safe to say you'll never need to worry about it.
Quote:Original post by shred master
free forever? i thought it was a year.
It is free to download for a year. Once you have downloaded a free version, you canuse it forever.
Regards,
Quote:Original post by wild_pointerQuote:Original post by shred master
free forever? i thought it was a year. but dudes, the only reason i keep goin on about ms specific and everything is cos i wanna learn c++, not microsofts visual c++
Visual C++ is the name of the IDE, that's all. The compiler that comes with the latest versions of VC++ is among the most standards conforming in existence. Like most compilers, there are some nonstandard extensions that you can use (ie. pragma once).
Perhaps you're thinking of managed C++ (C++.NET)? That's something else entirely, and it's reasonably safe to say you'll never need to worry about it.
#pragma's are compiler dependant, they are not non-standard. In fact, in a sence, they are standard (as standard as having int main(int ac, char*av[], char*env[], int i_am_still_standard)).
Moreover, C++/CLI (managed C++) IS standard (see here). And you can expect it to be implemented on other platforms as well.
Regards,
Quote:Original post by shred master
i currently use dev-cpp. why do people say visual studio 2005 (or any other microsoft compiler) is better than dev. what does microsoft have that dev doesnt.
Visual Studio is more powerful: tools, code, wizards, and help. It is the compiler for professional development (well, not literally, but used by most of the game development companies out there).
Dev-C++ is simple and free, and works perfect with the free MinGW compiler. I like to use it for code I'd be compiling on Linux too, since MinGW is a port of GCC I feel it's better this way.
Fortunately, MS released the VS Express Editions for free, so we can't say "too expensive for me" to try out.
Regards,
José J. Enríquez.
I hate pre-compiled things and using other people's code to add to mine, so when I look at VC++, I see tons of code and help features that I don't want to use. Dev-Cpp has a simple blank sheet that I can begin coding in, and that's all I want.
Quote:Original post by programwizard
The C++ standard is called "ANSI C++".
Technically, I think you will find it is now "ISO C++", but don't mind me.
There is nothing non-standard conforming about pragmas, they are placed in the standard to allow compiler specific enhancements (which may themselves be nonstandard, such as "#pragma once", but that is another issue).
Quote:Original post by Huffer
I think VC++ is too "complex" for simple stuff, like code from books, simple little programs etc. DevC++ is much better for that. Launch, click "New", type the code and compile. In VC++ you have to wait till it loads, spend 2 minutes creating a project etc. etc.
But for something complex VC++ is essential.
Actually, that's a bit mellow dramatic. Takes more like 20 seconds if you know where you want it to go (if it's not in the default directory which is fine for book samples etc). VC 2K3 takes 1-3 seconds to load on my AMD 2500 machine. New Project -> Select project type -> Give it a name -> Select Advanced features if you must pick what you want and done. Start coding, save, compile, run.
Quote:Original post by AdamGL
I hate pre-compiled things and using other people's code to add to mine, so when I look at VC++, I see tons of code and help features that I don't want to use. Dev-Cpp has a simple blank sheet that I can begin coding in, and that's all I want.
So just create a blank project. I always do this for windows code, since the templates are a bit overkill for what I need. Then you still get a better UI, project manager, debugger, and other features.
[Edited by - Sr_Guapo on April 16, 2006 4:43:33 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement