473,396 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Which Visual C++?

Hi,
I would like to know which Visual C++ version I should buy, if i want
to develop win32 applications in C, and which one should I stay away
from; I don't really want to muck with all the .NET things.

Thanks a lot.
Jan 8 '08 #1
21 1690
no*************@gmail.com wrote:
Hi,
I would like to know which Visual C++ version I should buy, if i want
to develop win32 applications in C, and which one should I stay away
from; I don't really want to muck with all the .NET things.

Thanks a lot.
Question likely to be off topic and flamed by the regulars. Best for
case you describe would be Visual C++ 6.0, which is several years
obsolete and likely not available for purchase.

Free options include Dev-C++, wxDev-C++, or Code::Blocks sittong on top
of mingw-gcc, or perhaps Open Watcom. For pure C and windows API work ,
Pelles C is a good choice and has a nice resource editor, perhaps better
than lcc-win32, which is another option.
Jan 8 '08 #2
"no*************@gmail.com" <no*************@gmail.comwrites:
Hi,
I would like to know which Visual C++ version I should buy, if i want
to develop win32 applications in C, and which one should I stay away
from; I don't really want to muck with all the .NET things.
You can use everything back to MSVC 1 for that ;-). The latter ones
(at least since V 8.0 have the annoying behaviour to deprecate perfect
valid ANSI C functions. Another point is that MSVC does not do
anything for get near ANSI C99 and so the only "C" you can do with it
is ANSI C 89 (maybe with a bit C95) and the extensions of
Microsoft. Howerver you'll hard times to get hands on VS2003 I guess
;-)

It seems a new shiny (or not so shiny) VS 2008 is on it's way to
us. But maybe it does not have to be MSVC you can choose among quite
few implementations. See the C FAQ for more on this

Regards
Friedrich

--
Please remove just-for-news- to reply via e-mail.
Jan 8 '08 #3
On Jan 8, 12:36*pm, "noagbodjivic...@gmail.com"
<noagbodjivic...@gmail.comwrote:
Hi,
I would like to know which Visual C++ version I should buy, if i want
to develop win32 applications in C, and which one should I stay away
from; I don't really want to muck with all the .NET things.

Thanks a lot.
There are free versions of Visual Studio available (http://
www.microsoft.com/express/). You can download the C++ version to
create C applications. However, a few things to be noted:

* No ANSI C99 support, the best you get is ISO C89 (booleans, some
math functions, ... are not present)
* Not even all ISO C89 functions are fully or correctly implemented
and the header files might contain different things than on Unix
* By default projects try to force a lot of Windows specific things,
so you'll need to keep an eye out when you create a project

Unless you really need to create specific Windows GUI applications or
deliver Windows specific libraries with the Visual Studio project
files I would advise you to look at another IDE on top of mingw32.

- Jensen
Jan 8 '08 #4
Thanks for all
Jan 9 '08 #5
On Tue, 08 Jan 2008 14:01:37 +0100, Friedrich Dominicus
<ju*****************@q-software-solutions.dewrote in comp.lang.c:
"no*************@gmail.com" <no*************@gmail.comwrites:
Hi,
I would like to know which Visual C++ version I should buy, if i want
to develop win32 applications in C, and which one should I stay away
from; I don't really want to muck with all the .NET things.
You can use everything back to MSVC 1 for that ;-). The latter ones
Off-topic, but no you can't. All versions of Visual C++ up to and
including 1.52C were 16-bit only. No win32 applications with them.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
Jan 9 '08 #6
On Tue, 08 Jan 2008 07:30:29 -0800, Jensen Somers wrote:
On Jan 8, 12:36Â*pm, "noagbodjivic...@gmail.com"
<noagbodjivic...@gmail.comwrote:
>Hi,
I would like to know which Visual C++ version I should buy, if i want
to develop win32 applications in C, and which one should I stay away
from; I don't really want to muck with all the .NET things.

Thanks a lot.

There are free versions of Visual Studio available (http://
www.microsoft.com/express/). You can download the C++ version to create
C applications. However, a few things to be noted:

* No ANSI C99 support, the best you get is ISO C89 (booleans, some math
functions, ... are not present)
The same can be said about gcc (gcc is not fully C99 compliant). And
besides, who cares? Write C90 code and you're automatically C99
compliant. Write C99 code and you're NOT necessarily C90 compliant. Five
out of five regulars in this group agree.
* Not even all ISO C89 functions are fully or correctly implemented and
the header files might contain different things than on Unix *
Please give specific examples.

And note that Unix has absolutely nothing to do with the C Standard,
neither the active one (C90) nor the latest one (C99).

By
default projects try to force a lot of Windows specific things, so
you'll need to keep an eye out when you create a project
Fair enough.
Unless you really need to create specific Windows GUI applications or
deliver Windows specific libraries with the Visual Studio project files
I would advise you to look at another IDE on top of mingw32.
Bad advice, IMHO.

--
C
Jan 9 '08 #7
Jack Klein said:
On Tue, 08 Jan 2008 14:01:37 +0100, Friedrich Dominicus
<ju*****************@q-software-solutions.dewrote in comp.lang.c:
>"no*************@gmail.com" <no*************@gmail.comwrites:
Hi,
I would like to know which Visual C++ version I should buy, if i want
to develop win32 applications in C, and which one should I stay away
from; I don't really want to muck with all the .NET things.
You can use everything back to MSVC 1 for that ;-). The latter ones

Off-topic, but no you can't. All versions of Visual C++ up to and
including 1.52C were 16-bit only. No win32 applications with them.
Well, you could actually, or at least you kinda sorta could, using Win32s,
which certainly shipped with the tail-enders from the 1.x range, although
I can't now remember if it came with 1.0.

And if you wanted to use 1.52C to develop a genuinely 32-bit application,
you could do that too - by using it to write your own 32-bit compiler! :-)

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Jan 9 '08 #8
[Minor nit - stuff I agree with has all been snipped]

Citizen C said:

<snip>
Write C90 code and you're automatically C99
compliant. Write C99 code and you're NOT necessarily C90 compliant. Five
out of five regulars in this group agree.
....provided you pick the right five.

It is easy to write C90 code that is not C99-conforming, and this can even
be done by accident. It can certainly be done by people who have never
heard of C99 (or had not, at the time they wrote the code). For example,
I'm fairly sure that *none* of the programs in K&R2 are C99-conforming.

<snip>

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Jan 9 '08 #9
Citizen C <ci******@spamcop.netwrites:
>>
* No ANSI C99 support, the best you get is ISO C89 (booleans, some math
functions, ... are not present)

The same can be said about gcc (gcc is not fully C99 compliant). And
besides, who cares? Write C90 code and you're automatically C99
compliant. Write C99 code and you're NOT necessarily C90 compliant. Five
out of five regulars in this group agree.
Not correct as other pointed out and well it's difference if a
compiler offers something like an -std=c99 or having nothing at
all. And that you can't see any effort towards ANSI C99, as MS does.

Regards
Friedrich
--
Please remove just-for-news- to reply via e-mail.
Jan 9 '08 #10
On 8 Jan, 11:36, "noagbodjivic...@gmail.com"
<noagbodjivic...@gmail.comwrote:

I would like to know which Visual C++ version I should buy, if i want
to develop win32 applications in C, and which one should I stay away
from; I don't really want to muck with all the .NET things.
VC++ 2008 seems ok. It compiles my code which was developed
on MingGW. You can get a free version (Express) so you can
try before you buy. It does Win32 applications. You don't
have to do the .NET stuff (I don't).

I've only been using it a few days and seems pretty good.

--
Nick Keighley
Jan 9 '08 #11
Citizen C wrote:
On Tue, 08 Jan 2008 07:30:29 -0800, Jensen Somers wrote:
....
>* Not even all ISO C89 functions are fully or correctly implemented and
the header files might contain different things than on Unix *

Please give specific examples.

And note that Unix has absolutely nothing to do with the C Standard,
neither the active one (C90) nor the latest one (C99).
I'm not an expert in Unix, but I was under the impression that it adds
prescriptions on top of those provide by the C standard itself, for the
behavior of the C compiler and the C standard library. I doubt that it
would do so without at least cross-referencing the C standard.
Therefore, saying it has "absolutely nothing to do with the C standard"
seems inaccurate.
Jan 9 '08 #12
Nick Keighley wrote:
On 8 Jan, 11:36, "noagbodjivic...@gmail.com"
<noagbodjivic...@gmail.comwrote:

>I would like to know which Visual C++ version I should buy, if i want
to develop win32 applications in C, and which one should I stay away
from; I don't really want to muck with all the .NET things.

VC++ 2008 seems ok. It compiles my code which was developed
on MingGW. You can get a free version (Express) so you can
try before you buy. It does Win32 applications. You don't
have to do the .NET stuff (I don't).

Does the 2008 Express edition really build win32 apps ? The 2005 Express
Edition would only build .Net apps, unless you downloaded and separately
installed the Platform SDK, and then made some tricky hand edits to
Visual Studio configuration files.

Jan 9 '08 #13
No more hacking needed (not even combining the SDK's command line and
the VC command line environments).
VC 2008 Express now includes the Win32 SDK as part of its install, and
supports creating Win32 project templates out of the box.

On Jan 9, 11:57*am, user1 <us...@example.netwrote:
Does the 2008 Express edition really build win32 apps ? The 2005 Express
Edition would only build .Net apps, unless you downloaded and separately
installed the Platform SDK, and then made some tricky hand edits to
Visual Studio configuration files.
Jan 9 '08 #14
James Kuyper wrote:
Citizen C wrote:
>On Tue, 08 Jan 2008 07:30:29 -0800, Jensen Somers wrote:
....
>>* Not even all ISO C89 functions are fully or correctly implemented and
the header files might contain different things than on Unix *

Please give specific examples.
And note that Unix has absolutely nothing to do with the C Standard,
neither the active one (C90) nor the latest one (C99).

I'm not an expert in Unix, but I was under the impression that it adds
prescriptions on top of those provide by the C standard itself, for the
behavior of the C compiler and the C standard library. I doubt that it
would do so without at least cross-referencing the C standard.
Therefore, saying it has "absolutely nothing to do with the C standard"
seems inaccurate.
Very much indeed, not only does UNIX include the full C standard, but a
certified UNIX system, must come with a C compiler too.

The list of conforming UNIX 03 implementations is growing, the list now
include (Sun, HP, IBM and Apple):

http://www.opengroup.org/openbrand/register/

Note that, all these UNIX 03 implementations, do provide a *validated*
C99 compiler.

--
Tor <bw****@wvtqvm.vw | tr i-za-h a-z>
Jan 10 '08 #15
Tor Rustad <se*****@dev.null.invalidwrote:
<snip>
Very much indeed, not only does UNIX include the full C standard, but a
certified UNIX system, must come with a C compiler too.

The list of conforming UNIX 03 implementations is growing, the list now
include (Sun, HP, IBM and Apple):

http://www.opengroup.org/openbrand/register/

Note that, all these UNIX 03 implementations, do provide a *validated*
C99 compiler.
So, what is Apple shipping _other_ than GCC? Unless validation means
something other than "meets all the requirements for a hosted or
freestanding implementation".

Jan 10 '08 #16
William Ahern wrote:
Tor Rustad <se*****@dev.null.invalidwrote:
<snip>
>Very much indeed, not only does UNIX include the full C standard, but a
certified UNIX system, must come with a C compiler too.

The list of conforming UNIX 03 implementations is growing, the list now
include (Sun, HP, IBM and Apple):

http://www.opengroup.org/openbrand/register/

Note that, all these UNIX 03 implementations, do provide a *validated*
C99 compiler.

So, what is Apple shipping _other_ than GCC? Unless validation means
something other than "meets all the requirements for a hosted or
freestanding implementation".
I have no idea which C compiler Apple is shipping with their OS X 10.5,
according to Karen Crippes, it has nevertheless been validated with Plum
Hall CVS 2006a:

http://www.opengroup.org/csq/view.mh...pple%2FLM1%2F3

--
Tor <bw****@wvtqvm.vw | tr i-za-h a-z>
Jan 10 '08 #17
On Thu, 10 Jan 2008 19:35:38 +0100, Tor Rustad
<se*****@dev.null.invalidwrote:
>William Ahern wrote:
>Tor Rustad <se*****@dev.null.invalidwrote:
<snip>
>>Very much indeed, not only does UNIX include the full C standard, but a
certified UNIX system, must come with a C compiler too.

The list of conforming UNIX 03 implementations is growing, the list now
include (Sun, HP, IBM and Apple):

http://www.opengroup.org/openbrand/register/

Note that, all these UNIX 03 implementations, do provide a *validated*
C99 compiler.

So, what is Apple shipping _other_ than GCC? Unless validation means
something other than "meets all the requirements for a hosted or
freestanding implementation".

I have no idea which C compiler Apple is shipping with their OS X 10.5,
according to Karen Crippes, it has nevertheless been validated with Plum
Hall CVS 2006a:

http://www.opengroup.org/csq/view.mh...pple%2FLM1%2F3
The validation is for "C Language V2", apparently a designation by the
Open Group. It looks as if that means C99, though the Plum Hall test
suite used can test for either C90 or C99 conformance.

--
Al Balmer
Sun City, AZ
Jan 10 '08 #18
On Wed, 9 Jan 2008 19:07:42 -0600, Tor Rustad wrote
(in article <xY*********************@telenor.com>):
James Kuyper wrote:
>Citizen C wrote:
>>On Tue, 08 Jan 2008 07:30:29 -0800, Jensen Somers wrote:
....
>>>* Not even all ISO C89 functions are fully or correctly implemented and
the header files might contain different things than on Unix *

Please give specific examples.
And note that Unix has absolutely nothing to do with the C Standard,
neither the active one (C90) nor the latest one (C99).

I'm not an expert in Unix, but I was under the impression that it adds
prescriptions on top of those provide by the C standard itself, for the
behavior of the C compiler and the C standard library. I doubt that it
would do so without at least cross-referencing the C standard.
Therefore, saying it has "absolutely nothing to do with the C standard"
seems inaccurate.

Very much indeed, not only does UNIX include the full C standard, but a
certified UNIX system, must come with a C compiler too.

The list of conforming UNIX 03 implementations is growing, the list now
include (Sun, HP, IBM and Apple):

http://www.opengroup.org/openbrand/register/

Note that, all these UNIX 03 implementations, do provide a *validated*
C99 compiler.
Not possible. Apple ships gcc, and no version of gcc yet comes close
to being a full C99 compiler, which they openly admit on their own web
pages. Try again.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw

Jan 10 '08 #19
On Thu, 10 Jan 2008 12:35:38 -0600, Tor Rustad wrote
(in article <zu*********************@telenor.com>):
William Ahern wrote:
>Tor Rustad <se*****@dev.null.invalidwrote:
<snip>
>>Very much indeed, not only does UNIX include the full C standard, but a
certified UNIX system, must come with a C compiler too.

The list of conforming UNIX 03 implementations is growing, the list now
include (Sun, HP, IBM and Apple):

http://www.opengroup.org/openbrand/register/

Note that, all these UNIX 03 implementations, do provide a *validated*
C99 compiler.

So, what is Apple shipping _other_ than GCC? Unless validation means
something other than "meets all the requirements for a hosted or
freestanding implementation".

I have no idea which C compiler Apple is shipping with their OS X 10.5,
according to Karen Crippes, it has nevertheless been validated with Plum
Hall CVS 2006a:

http://www.opengroup.org/csq/view.mh...ferences=1&RID
=apple
%2FLM1%2F3
Given that Gnu openly admits the C99 conformance is incomplete, and in
some cases "broken", that implies that the test you are putting faith
in above is broken. Badly.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw

Jan 10 '08 #20
Randy Howard wrote:
On Thu, 10 Jan 2008 12:35:38 -0600, Tor Rustad wrote
(in article <zu*********************@telenor.com>):
>I have no idea which C compiler Apple is shipping with their OS X 10.5,
according to Karen Crippes, it has nevertheless been validated with Plum
Hall CVS 2006a:

http://www.opengroup.org/csq/view.mh...ferences=1&RID
=apple
>%2FLM1%2F3

Given that Gnu openly admits the C99 conformance is incomplete, and in
some cases "broken", that implies that the test you are putting faith
in above is broken. Badly.

Well, it doesn't follow that Plum Hall CVS 2006a is broken.
Yesterday, I discovered that my employer is listed with 5 security
certificates in the public VISA records, while the fact of the matter,
is that we only have taken a single certificate of this kind.

To me, there are a number possibilities, including:

1. The content on the web page was wrong.
2. The VISA records are wrong.
3. The review report received by VISA was wrong
4. I'm missing something
--
Tor <bw****@wvtqvm.vw | tr i-za-h a-z>
Jan 11 '08 #21
On Thu, 10 Jan 2008 20:15:17 -0600, Tor Rustad wrote
(in article <rv*********************@telenor.com>):
Randy Howard wrote:
>On Thu, 10 Jan 2008 12:35:38 -0600, Tor Rustad wrote
(in article <zu*********************@telenor.com>):
>>I have no idea which C compiler Apple is shipping with their OS X 10.5,
according to Karen Crippes, it has nevertheless been validated with Plum
Hall CVS 2006a:

http://www.opengroup.org/csq/view.mh...ferences=1&RID
=apple
>>%2FLM1%2F3

Given that Gnu openly admits the C99 conformance is incomplete, and in
some cases "broken", that implies that the test you are putting faith
in above is broken. Badly.


Well, it doesn't follow that Plum Hall CVS 2006a is broken.
If this test claims to verify C99 conformance, which I felt you were
implying previously, then it certainly is broken.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw

Jan 11 '08 #22

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Herman | last post by:
Hi everyone, I'm currently studying for my Master's in Computer Science, and I will be working on my thesis this summer. I've been thinking about constructing a web services application for my...
9
by: CY FOK | last post by:
Hi I am planning to open a software company to develop client-server apps and web applications for my client. Now, i am in a difficult situation to determine what is the best platform i should use...
22
by: larry | last post by:
I was just looking at a demo training that mindleaders has on .net training: http://www.mindleaders.com/products/democourse3.asp And I don't believe this is correct or at least is misleading...
2
by: anthony | last post by:
hello, I'm new to c and have the following question, the software i am using requires me to develop apps in c++ v 7.0 (see below) is this the same as c.net? thanks in advance Anthony.
4
by: wASP | last post by:
Hi, I am contemplating the purchase of Microsoft Visual Studio .NET, and I've noticed that the prices range anywhere from $200 to $600 USD:...
4
by: clintonG | last post by:
I've already checked out Microsoft's current build information resource and went to the MSDN subscriber downloads. The subscriber downloads menu indicates two separate downloads for Visual Studio...
4
by: Skc | last post by:
We have a developer who has made an application in Visual Studio 2003 and this will not work in our version of Visual Studio 2002. Error message: Solution file loading error: The selected file...
8
by: Frank Callone | last post by:
Until now I programmed a lot with C++ and Java. Now I want (have) to do some programming with Visual Basic. Which software do I need for this ? Which is the best GUI development tool for Visual...
7
by: dktekno | last post by:
I have long wondered what the reason is that the majority of companies chose Visual C++ instead of Borland C++ Builder. In my opinion, C++ Builder or Delphi gives you a much more easy understanding...
4
by: =?Utf-8?B?ZGF2aWQ=?= | last post by:
We have to upgrade our Visual Studio .NET 2003 enterprise edition to .NET 2005. However, there is no enterprise edition for Visual Studio .NET 2005. There are 4 versions available for visual...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.