473,408 Members | 2,734 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,408 software developers and data experts.

Microsoft Visual C++ 6.0

Can I use Microsoft Visual C++ 6.0 to compile C programs? If so, is
Microsoft Visual C++ 6.0 a good choice as a C compiler?

Thanks in advance,

Nov 15 '05 #1
14 2189
mi******@yahoo.com wrote:

Can I use Microsoft Visual C++ 6.0 to compile C programs? If so, is
Microsoft Visual C++ 6.0 a good choice as a C compiler?


Its not a great compiler.

A better (ie more standards compliant, includes large portions
of the C99 standard) you should probably try MinGW:

http://www.mingw.com/

Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo no****@mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"I have a cat, so I know that when she digs her very sharp claws
into my chest or stomach it's really a sign of affection, but I
don't see any reason for programming languages to show affection
with pain." -- Erik Naggum, comp.lang.lisp
Nov 15 '05 #2
On Sun, 26 Jun 2005 01:34:30 -0500, mi******@yahoo.com wrote
(in article
<11**********************@f14g2000cwb.googlegroups .com>):
Can I use Microsoft Visual C++ 6.0 to compile C programs?
Presumably you mean portable, standard C programs or you would
be posting somewhere else, like one of the win32 groups or
Windows groups.

Sort of, it is possible to make it a reasonably strict C
compiler, but it does not support C99, and you have to work
to make it a strict C89 compiler. Step 1, don't use .cpp
as a file extension. Next, pay very careful attention to
project settings if you use the IDE to build. If you are
using the free command line version just to get a free C
compiler, read on...
If so, is Microsoft Visual C++ 6.0 a good choice as a C compiler?


There are worse ones, but not a lot of them anymore.

gcc, MinGW, Dev-C++, Cygwin/gcc, etc. for free choices worth
investigating on Windows boxes.

Intel also makes a very nice commercial compiler.
Nov 15 '05 #3

<mi******@yahoo.com> wrote

Can I use Microsoft Visual C++ 6.0 to compile C programs? If so, is
Microsoft Visual C++ 6.0 a good choice as a C compiler?

I you want to write ANSI standard C89 it doesn't really matter what compiler
you use. Virtually all conform.
The MSVC++ documentation does have a few niggly errors. For instance the
scanf() documentation doesn't describe how to pass a set of values to match,
main() is frequently and incorrectly presented as returning void. However it
isn't unusable.

If you want to write C99, you have few choices. In fact it now seems
unlikely that the standard will ever be implemented.

No one buys MSVC++ just to compile ANSI standard programs. The libraries and
other tools provided are excellent, but off-topic here.
Nov 15 '05 #4
mi******@yahoo.com wrote on 26/06/05 :
Can I use Microsoft Visual C++ 6.0 to compile C programs? If so, is
Microsoft Visual C++ 6.0 a good choice as a C compiler?


Yes. In addition, the debugger is excellent.

--
Emmanuel
The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html
The C-library: http://www.dinkumware.com/refxc.html

"Mal nommer les choses c'est ajouter du malheur au
monde." -- Albert Camus.

Nov 15 '05 #5
mi******@yahoo.com wrote:
Can I use Microsoft Visual C++ 6.0 to compile C programs? If so, is
Microsoft Visual C++ 6.0 a good choice as a C compiler?

Thanks in advance,


I believe at least some time functions don't work.
Nov 15 '05 #6
I think that your choice is good of winodws flatform.

mi******@yahoo.com wrote:
Can I use Microsoft Visual C++ 6.0 to compile C programs? If so, is
Microsoft Visual C++ 6.0 a good choice as a C compiler?

Thanks in advance,


Nov 15 '05 #7
I think that your choice is good of windows flatform....

Nov 15 '05 #8
onlywin_kr wrote:
mi******@yahoo.com wrote:
Can I use Microsoft Visual C++ 6.0 to compile C programs? If so,
is Microsoft Visual C++ 6.0 a good choice as a C compiler?


I think that your choice is good of winodws flatform.


For a winodws flatform, I can think of nothing else. For any other
system, including Windows, flat or curvaceous, I would look into
gcc.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
Nov 15 '05 #9

In article <mn***********************@YOURBRAnoos.fr>, "Emmanuel Delahaye" <em***@YOURBRAnoos.fr> writes:
mi******@yahoo.com wrote on 26/06/05 :
Can I use Microsoft Visual C++ 6.0 to compile C programs? If so, is
Microsoft Visual C++ 6.0 a good choice as a C compiler?


Yes. In addition, the debugger is excellent.


True, if by "excellent" you mean "barely adequate". Major deficiencies
in the VC6 debugger include:

- It doesn't recognize enums. (This is particularly embarassing for
a modern commercial C debugger.)

- It can't detach from a program being debugged and allow it to
continue running normally.

- It has no text mode - it's GUI-only. Many people prefer GUIs, but
not everyone. An "excellent" debugger would cater to both.

- Some displays (eg watch lists) can only be updated when the
debugged program is not executing.

- Some displays (eg the thread list) are modal dialog boxes instead
of being proper dockable windows.

- Breakpoint positioning is nonsensical in some cases. For example,
in a loop with the body on the same source line as the controlling
statement, the debugger treats the next line of code as part of the
loop for breakpoint-target purposes, so you cannot step past the loop
by setting a breakpoint on that line.

- It's not easily scriptable.

The VC7 debugger fixes some of these, but it's still far from
"excellent".

--
Michael Wojcik mi************@microfocus.com

Then a good friend got very ill, and it made Pernsteiner realize that
"life is short. This was an opportunity to be silly."
Nov 15 '05 #10
CBFalconer wrote:
For a winodws flatform, I can think of nothing else. For any other
system, including Windows, flat or curvaceous, I would look into
gcc.


MinGW is pretty good.
http://www.mingw.org/

Compared to that, VC++ is kinda crappy. Of course, the main advantage
of VC++ is its GUI, not the compiler itself...
Nov 15 '05 #11
In article <da********@news1.newsguy.com>,
Michael Wojcik <mw*****@newsguy.com> wrote:

In article <mn***********************@YOURBRAnoos.fr>, "Emmanuel Delahaye" <em***@YOURBRAnoos.fr> writes:
mi******@yahoo.com wrote on 26/06/05 :
> Can I use Microsoft Visual C++ 6.0 to compile C programs? If so, is
> Microsoft Visual C++ 6.0 a good choice as a C compiler?


Yes. In addition, the debugger is excellent.


True, if by "excellent" you mean "barely adequate".


That definition has always been in use at/by Microsoft.

Nov 15 '05 #12
Guillaume wrote:
CBFalconer wrote:
For a winodws flatform, I can think of nothing else. For any other
system, including Windows, flat or curvaceous, I would look into
gcc.


MinGW is pretty good.
http://www.mingw.org/

Compared to that, VC++ is kinda crappy. Of course, the main advantage
of VC++ is its GUI, not the compiler itself...


You did miss the main point of my post, which doesn't exist without
the part I quoted.

--
Chuck F (cb********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
Nov 15 '05 #13
CBFalconer wrote:
You did miss the main point of my post, which doesn't exist without
the part I quoted.


No no, that was pretty funny all right... ;-)

I just felt compelled to still give some useful link in case anyone
would be interested...
Nov 15 '05 #14


Guillaume wrote:
CBFalconer wrote:
For a winodws flatform, I can think of nothing else. For any other
system, including Windows, flat or curvaceous, I would look into
gcc.


MinGW is pretty good.
http://www.mingw.org/

Compared to that, VC++ is kinda crappy. Of course, the main advantage
of VC++ is its GUI, not the compiler itself...


....and Eclipse makes VC's GUI look pretty crappy, too.

Nov 15 '05 #15

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

Similar topics

0
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
1
by: Novice | last post by:
Hi all, I am a C++ and Java developer with over 3 years of industry experience. I've written low level C++ code, in addition to web clients that use web services. I've just recently installed the...
1
by: Novice | last post by:
Hi all, I'm afraid this is the second posting of this information as I didn't get a response on the previous post. I will try to shorten my message (i.e. be more concise) in the hopes that it will...
99
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
2
by: Steve | last post by:
Having only recently migrated across from VB6 to VB.NET I'm still unsure whether or not I should be making (heavy) use of the Microsoft.VisualBasic namespace in new applications. I've read a lot...
182
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
0
by: fiona | last post by:
Innovasys Ltd., a leader in help authoring and documentation tools, today announced the inclusion of a tailored version of the Innovasys HelpStudio help authoring product, HelpStudio Lite, in the...
23
by: =?Utf-8?B?TWlrZTE5NDI=?= | last post by:
This is an example that is supposed to work in VB http://support.microsoft.com/kb/175512/en-us After spending a couple of hours downloading and installing VB Express 2008 after someone told me it...
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: 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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.