Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
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?
Posted
Comments
[no name] 7-Aug-14 6:44am    
As you have already been told, yes it is possible.
CPallini 7-Aug-14 7:44am    
Again: Linux is an operative system. One of its main tasks is to run executables.

1 solution

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.
 
Share this answer
 
Comments
farhad bat 7-Aug-14 10:35am    
I write project in linux and it's correct.how run int in linux host(Cpanel)?
OriginalGriff 7-Aug-14 10:49am    
You will have to talk to your hosting company about that: they may have restrictions on what applications you can install.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900