我如何能编译C ++的(64位),Windows中的一个64位的EXE? [英] How can I compile c++ on (64bit) windows to make a 64bit exe?

查看:570
本文介绍了我如何能编译C ++的(64位),Windows中的一个64位的EXE?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用g ++编译器,与code来::块我可以编译32位程序,但是当我尝试编译为64位程序它告诉我,64位未实现,即使我有64位操作系统。

Using the g++ compiler that came with code::blocks I can compile 32bit programmes but when I try to compile to a 64bit programme it tells me that 64 bit isn't implemented, even though I have 64bit os.

我怎么能编译C ++做一个64位的EXE?

How can I compile c++ to make a 64bit exe?

推荐答案

下载微软的Visual C ++和目标设置为64位。

Download Microsoft Visual C++, and set the target to 64-bit.

为什么使编程难度比它需要?

Why make programming harder than it needs to be?

这篇关于我如何能编译C ++的(64位),Windows中的一个64位的EXE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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