我想使用Visual C ++ 6 [英] I want to use Visual C++ 6

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

问题描述

我最近在Windows 7上安装了Visual Studio 2017. 我希望Visual C ++ 6中的旧控制台应用程序可以在2017年的新环境中轻松编译,但没有这样的运气。 有谁知道Visual Studio 2017是否可以配置
进入接受VC ++ 6代码的模式? 或者,是否可以在Windows 7上安装Visual C ++ 6? 这就是我想要使用的编译器。

I recently installed Visual Studio 2017 on Windows 7.  I was hoping that my old console apps from Visual C++ 6 would easily compile in the new 2017 environment, but no such luck.  Does anyone know if Visual Studio 2017 can be configured into a mode that accepts code from VC++ 6?  Or, might it be possible to install Visual C++ 6 on Windows 7?  That's the compiler that I want to use.

主要问题是新的Visual Studio 2017需要使用"命名空间"。 而这个新的Visual Studio不喜欢或找不到我的头文件,例如"fstream.h",并且它不喜欢我使用旧函数,例如"strtok()"。 
我的旧控制台应用程序无法在新环境中编译。

The main problem is that the new Visual Studio 2017 requires usage of "namespaces".  And this new Visual Studio doesn't like or can't find my header files, such as "fstream.h", and it doesn't like me using old functions such as "strtok()".  My old console app don't compile in the new environment.

我很感激任何提示。 谢谢!

I'd appreciate any tips.  Thank you!

Robert C.

Robert C.

推荐答案

您好,

您是否阅读了我对同一问题的答案?:
https://social.msdn.microsoft.com/论坛/ vstudio / zh-CN / f58dcd56-9808-46c8-9052-a92d17fbe78a / use-regular-c-compiler?forum = vcgeneral#f58dcd56-9808-46c8-9052-a92d17fbe78a

did you read my answer to your same question?: https://social.msdn.microsoft.com/Forums/vstudio/en-US/f58dcd56-9808-46c8-9052-a92d17fbe78a/use-regular-c-compiler?forum=vcgeneral#f58dcd56-9808-46c8-9052-a92d17fbe78a

问候,Guido


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

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