如何为不同的操作系统制作程序,例如windows和mac os x? [英] How do you make a program for different operating systems , such as windows and mac os x?

查看:196
本文介绍了如何为不同的操作系统制作程序,例如windows和mac os x?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始编程,我想知道人们如何为两个不同的操作系统制作单个程序。您是否必须使用两个不同的框架,因为它们将具有不同的API,您是否必须使用不同的编程语言?请告诉我编程的工作原理。另外,如果你能回答这个问题,你使用哪种编程语言用于windows phone,iOS和android?

I'm just starting to get into programming and I wanted to know how people make a single program for two different operating systems. Do you have to use two different frameworks because they will have different APIs and do you have to use a different programming languages?Please give me the lowdown on how programming works. Also, if you can answer this, what programming languages do you use for the windows phone, iOS, and android?

推荐答案

Java是面向对象的,独立于平台的编程可以在任何带有JVM的操作系统上运行的语言。如今,每个人都在他们的计算机上安装java。你甚至可以在命令提示符下输入java -version来检查windows或终端是否为mac,linux。你也可以用它编写android应用程序。所有编程语言都是出于一个目的而开始的,我们不需要关心它。例如,我们使用vb.net开发在Windows桌面上运行的应用程序和用于Mac的objective-C。不过,我们仍然喜欢使用Java或Python为所有系统开发应用程序。这完全取决于个人喜好和感兴趣的领域。所以,只需学习一个并扩展知识。
Java is the object oriented, platform independent programming language which can run on any OS with JVM. Nowadays, everybody installs java on their computers. You can even check by typing "java -version" in your command prompt for windows or terminal for mac, linux. You can also write android application with it. All programming languages are started with one purpose in mind and we don't need to care about it. For example, we use vb.net to develop the application that run on windows desktop and objective-C for Mac. Still, we like to use Java or Python to develop application for all systems. It's all depends on personal preferences and area of interest. So, just learn one and expand the knowledge.


这篇关于如何为不同的操作系统制作程序,例如windows和mac os x?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆