D
D
Dmitry Korolev2021-09-01 16:45:38
C++ / C#
Dmitry Korolev, 2021-09-01 16:45:38

Building a terminal application for multiple platforms?

Am I on the right track or not: I will create a C++ console application project in the studio and compile a static library with C code for use. and then I will throw off the result on Ubuntu and what will happen? only terminal sequences are used to control the console and the application will be written entirely in C.
Am I missing something in any way?

won't work or will it work?
or CMake project type should be selected?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wataru, 2021-09-01
@adressmoeistranici

Work with the console occurs through system functions. Therefore, even a console application will have to be recompiled for different platforms. This is not to mention the fact that Linux and Windows have different executable file formats.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question