Answer the question
In order to leave comments, you need to log in
What makes it cross-platform?
we all know what cross-platform is, and why is it created? the same lines of code?
Answer the question
In order to leave comments, you need to log in
First of all, thanks to an understanding of the goals and understanding of the means in the form of APIs of different OS, you have problems with this, judging by your question in an absolutely incomprehensible wording.
Read the definition of the word "platform" as it applies to IT.
Most of the functions that are platform-dependent (working with the file system) are taken out into separate functions and we write them, taking into account the features of all target platforms.
Lines of code are not important. Whether they are the same or not - this does not affect cross-platform in any way.
It is solved by understanding - where exactly cross-platform ends .
In this place - special attention. We write without using the features of a particular OS. Or we make two fundamentally different branches in this place.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question