如何通过c ++ turbo编译64位程序 [英] How can I compile a 64 bit program by c++ turbo

查看:80
本文介绍了如何通过c ++ turbo编译64位程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




i由C ++ turbo制作程序,现在我想使用.exe文件,所以当我运行它时,我面临一个错误,它是一个32位程序,你可以不能在64位操作中打开它!

所以我想知道如何通过c ++ turbo制作64位程序???设置在哪里?

(我的c ++ turbo是64位,我的操作系统也是64位)!



谢谢



:Doostl

Hi
i made a program by C++ turbo and now i wanna use .exe file , so when i run it i face with an error that it's a 32 bit program and you can not open it in 64 bit operation!
so i wanna know how can i make a 64 bit program by c++ turbo ??? where is the setting?
(My c++ turbo is a 64 bit one and my operating system is 64 bit too)!

Thank you

:Doostl

推荐答案

Bull。 64位Windows运行32位应用程序没有问题。我不知道你在读什么,但这是错的。另一方面,Turbo C ++ 16位将无法在任何版本的64位Windows上运行,也不会将任何代码编译为16位可执行文件。



Turbo C ++早已成为死产品。从来没有一个正式版本可以编译成64位代码。



为了清楚起见,Turbo C ++从未编译成64位代码。它只有32位及以下。 Turbo C ++的INSTALLER和ENVIRONMENT现在可以在64位窗口上运行。它不会将代码编译为64位exectuables。
Bull. 64-bit Windows has no problem running 32-bit apps. I have no idea what you're reading, but it's wrong. Turbo C++ 16-bit on the other hand will not run on any version of 64-bit Windows, nor will any of the code it compiles to 16-bit executables.

Turbo C++ has long since been a dead product. There was never an official release that could compile to 64-bit code.

Just to be clear, Turbo C++ never compiled to 64-bit code. It was 32-bit only and below. The INSTALLER and the ENVIRONMENT for Turbo C++ now works on 64-bit windows. It does NOT compile code to 64-bit exectuables.


据我所知,你不能在一个 Turbo C ++ 上创建一个可执行文件 64位Windows (我不知道'兼容模式'是否会起作用)。我建议你使用更现代的编译器(有许多免费提供)或在像 DosBox [<}的工具中运行你的可执行文件a href =http://www.dosbox.com/target =_ blanktitle =新窗口> ^ ]。
As far as I know you cannot run a Turbo C++ created executable on a 64 bit Windows (I don't know if a 'compatybility mode' would do the trick). I would suggest you to use a more modern compiler (there are many available for free) or run your executable inside a tool like DosBox[^].


这篇关于如何通过c ++ turbo编译64位程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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