在Linux服务器上运行C ++程序 [英] Run a C++ Program on a Linux Server
本文介绍了在Linux服务器上运行C ++程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这个问题我肯定已经回答了,老实说我不知道如何通过搜索来询问。所以请原谅我缺乏知识,因为这是我在计算机科学领域缺乏知识的唯一地方。
我怎么能/它是可以,在Linux托管服务器上运行C ++程序吗?
This question I'm sure has been answered, I honestly don't know how to ask it via search though. So please excuse my lack of knowledge as this one of the only place I really have a lack of knowledge in the world of Computer Science.
How can I/ Is it possible, to run a C++ program on a Linux Hosted Server?
推荐答案
是的,您可以:但是您必须使用Linux库编译Linux程序。 Yopu可以;只需要一个Windows甚至DOS可执行文件并在Linux上运行它:这是行不通的。
如果它是一个.NET目标程序集,那么你如果Linux运行Mono,则可以。
Yes, you can: but you will have to compile the program for Linux, using Linux libraries. Yopu can;t just take a Windows or even DOS executable and run it on Linux: that won't work.
If it's a .NET targeted assembly, then you may be able to, if Linux is running Mono.
这篇关于在Linux服务器上运行C ++程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文