W
W. eWatson
I'm using Win 7. In any case, is there a free version of C++ or Win?
I'm using Win 7. In any case, is there a free version of C++ or Win?
Is it free?There is the "Express Edition" of Visual C++...
V
Is it free?
I'm using Win 7. In any case, is there a free version of C++ or Win?
The two main free C++ compilers for Windows are Visual C++ and g++.
The Visual C++ compiler is bundled with an IDE called "Visual C++
Express". The full commercial version of that IDE is Visual Studio. For
a novice the main thing to be aware of is that while it *allows* you to
do standard C++ programming, it effectively uses all kinds of tricks to
trap you in a Microsoft-specific world, and this includes automatically
generated code (it's a good idea to ask for "empty" projects).
I'm using Win 7. In any case, is there a free version of C++ or Win?
I'm using Win 7. In any case, is there a free version of C++ or Win?
On 23.11.2011 18:42, W. eWatson wrote:
The two main free C++ compilers for Windows are Visual C++ and g++.
The Visual C++ compiler is bundled with an IDE called "Visual C++
Express".
The full commercial version of that IDE is Visual Studio. For
a novice the main thing to be aware of is that while it *allows* you to
do standard C++ programming, it effectively uses all kinds of tricks to
trap you in a Microsoft-specific world,
and this includes automatically
generated code (it's a good idea to ask for "empty" projects).
quite
The g++ compiler is part of the GNU (GNU is Not Unix) toolchain for
*nix, or perhaps, for not *nix?
It has two major ports to Windows,
namely as part of Cygwin, and a freestanding version, which is called
MinGW (Minimal GNU on Windows). There are many variants of MinGW g++
produced by different people, and ironically the most difficult way to
get hold of this compiler is via the MinGW project's own pages...
An easy way to get the MinGW g++ compiler is to install an IDE such as
Code::Blocks that has g++ as its default compiler. Unfortunately this is
likely to get you a pretty old version. But it's easy, and you need the
IDE anyway in order to use the debugger in a reasonable way.
Both compilers come complete with a set of command line tools.
If you absolutely must develop for Windows for professional reasons,
using Windows-specific APIs, then please follow the above advices.
Otherwise there really isn't any reason why you should be using
Windows and not Linux, afterall...
"Wellll, paardoooon me." -- Steve MartinHave you checked?
one of microsoft marketing's more shoot-yourself-in-the-foot
decisions. Visual C++ is actually a perfectly good C++ compiler. It
also provides a quite reasonable C compiler.
that's a bit harsh.
....
I gave up on MingW as I difficulty persauding it to generate
debuggable code. This may have been the Bloodshed IDE that was giving
me gip. I found VS less painful and a nicer GUI.
I'm using Win 7. In any case, is there a free version of C++ or Win?
Perhaps not as "shoot-yourself-in-the-foot" as you think. Name another
commercial alternative for Windows programming? There are few
remaining.
Agree.
Windows IS a "Microsoft-specific world". I have always failed to
understand why people get upset over that simple fact. Microsoft owns
Windows. Period.
So they give away a development platform with the deliberate intention
to get you to buy the full version. Duh!
I gave up on MingW as I [had] difficulty persauding it to generate
debuggable code. This may have been the Bloodshed IDE that was giving
me gip. I found VS less painful and a nicer GUI.
All open source is essentially a construction kit. Some damn nice
stuff out there, but it alls need to be stamped "DIY". <BG>
It also produces executables that are significantly larger than
GCC on Linux.
gcc on linux is fine. It may even be fixed on Windows for all I know.
[Please do not mail me a copy of your followup]
"W. eWatson"<[email protected]> spake the secret code
Get Visual C++ Express Edition. It's free and has no limitations on
the code that you produce with it (i.e. you can develop commercial
products with it).
Using gcc or other *nix-derived compilers is fine *if* you never intend
to write programs that use the Win32 API or anything other than POSIX
style system interfaces. Otherwise, its just too much pain and I'd
recommend using the Visual C++ Express Edition instead.
As for Visual C++ "tricking" you into using Windows specific items,
I'd say that's just disgruntled *nix fanboy sentiment talking. It
isn't hard at all to write very portable code using Visual C++. I
have done it for years. If you don't know what's Windows or Visual
C++ specific in any project template, then read the docs on it.
Everything that is Windows/VC specific is documented as such.
As for the badness of "generated" code, Visual C++ simply recognizes
that each application type has some boilerplate that is the same from
project to project. Writing a console application? You're going to
need a main(). And so-on. The project templates simply save you some
work by generating this boiler plate when you create the project.
There's nothing magic or evil about this code, you can edit it or
delete it to your heart's content.
On Thu, 24 Nov 2011 01:59:06 -0800 (PST), Nick Keighley
All open source is essentially a construction kit. Some damn nice
stuff out there, but it alls need to be stamped "DIY". <BG>
I'm using Win 7. In any case, is there a free version of C++ or Win?
[...] Visula C used to be (may
still be) a different language from C.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.