C ++ source code on linux server and windows client?

This may be a very stupid question, but I hope I can clearly express myself.

My daughter has a multiplayer game source code. For many years, she used Visual C ++ to compile a game for Windows. There is a server exe file and a client exe file that works well when using a Windows server.

I want to know if it is possible to compile a server file for use on a linux server and store exe files for Windows for windows? Or will there be a compatibility problem?

Thank.

+3
source share
4 answers

I want to know whether it is possible to compile a server file to use on a linux server and store exe files for a client for Windows?

, . . . , :

  • , , , . , Windows, Linux, Boost.

  • .

2, , . , , - Linux- linux, g++, "er rip". make . , CMake.

1 . , (, Windows Linux), "". , . , . - . , , .

. . , - , , , . , . , , ( ) , , .

, "", , - . /, , .

+1

, ++ ( Java). linux distro ++. , ...

0

. , Windows Linux . IPC (Inter-process communication) , , Windows Linux. , .

, , , , , .

Linux: http://www.linuxhowtos.org/C_C++/socket.htm

Windows: http://msdn.microsoft.com/en-us/library/windows/desktop/ms740673(v=vs.85).aspx

0

. .

  • Linux . +++, +++
  • , , . ++, +++
  • .exe Linux Windows. , ++
  • .exe Linux, Wine , Windows Linux. Windows . , ++

, . .

0
source

All Articles