Microsoft Visual C ++ 6.0 [英] Microsoft Visual C++ 6.0

查看:118
本文介绍了Microsoft Visual C ++ 6.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用Microsoft Visual C ++ 6.0编译C程序吗?如果是这样的话,是不是
Microsoft Visual C ++ 6.0作为C编译器的不错选择?


提前谢谢,

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,

推荐答案

mi******@yahoo.com 写道:

我可以使用Microsoft Visual C ++ 6.0编译C程序吗?如果是这样,那么Microsoft Visual C ++ 6.0作为C编译器是一个不错的选择吗?

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?




它不是一个好的编译器。


更好(即更符合标准,包括C99标准的大部分

)你应该尝试MinGW:

http://www.mingw.com/

Erik

-

+ ----------------------------------- ------------------------ +

Erik de Castro Lopo 没有**** @ mega-nerd.com (是的,这是有效的)

+ ----------- ------------------------------------------------ +

我有一只猫,所以我知道当她挖到她非常锋利的爪子时,我的胸部或腹部就会发现它真的是一种感情,但我

没有看到任何编程语言表达感情的理由

痛苦。 - Erik Naggum,comp.lang.lisp



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


On Sun,26 Jun 2005 01:34:30 -0500, mi ****** @ yahoo.com 写了

(文章

< 11 *** *******************@f14g2000cwb.googlegroups .com>):
On Sun, 26 Jun 2005 01:34:30 -0500, mi******@yahoo.com wrote
(in article
<11**********************@f14g2000cwb.googlegroups .com>):
我可以使用Microsoft Visual C ++ 6.0编译C程式?


大概你的意思是便携式,标准的C程序,或者你会在其他地方发布
,比如其中一个win32组或

Windows组。


排序,有可能使它成为一个相当严格的C

编译器,但它不支持C99,你必须工作

使其成为严格的C89编译器。第1步,不要使用.cpp

作为文件扩展名。接下来,如果使用IDE构建,请特别注意

项目设置。如果你是使用免费的命令行版本来获得一个免费的C

编译器,请继续阅读......

如果是这样,是作为C编译器,Microsoft Visual C ++ 6.0是一个不错的选择吗?
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?




有更糟糕的,但不再是很多它们了。


gcc,MinGW,Dev-C ++,Cygwin / gcc等免费选择价值

调查Windows机箱。


英特尔还制作了非常好的商业编译器。



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.




< mi ****** @ yahoo.com>写了

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

我可以使用Microsoft Visual C ++ 6.0编译C程序吗?如果是这样,那么Microsoft Visual C ++ 6.0作为C编译器是一个不错的选择吗?

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?



我想写ANSI标准C89它真的不重要什么编译器<你使用的是
。几乎所有符合。

MSVC ++文档确实有一些错误的错误。例如,

scanf()文档没有描述如何传递一组值来匹配,

main()经常被错误地表示为返回void。然而它不会无法使用。


如果你想写C99,你几乎没有选择。实际上现在似乎不太可能实现标准。


没有人购买MSVC ++只是为了编译ANSI标准程序。图书馆和

提供的其他工具非常好,但在这里偏离主题。


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.


这篇关于Microsoft Visual C ++ 6.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆