‘壹’ C++在调试代码时为什么出现 检测到 Mac 文件格式: 请将源文件转换为 DOS 格式或 UNIX 格式
可能是编码文件的格式不正确吧,改成ansi的,苹果默认是utf8的
‘贰’ 我有一台 MacBook Air 想用来编程怎么办
不知你是用什么开发语言?
可以用虚拟机安装你编程所需的系统,然后在对应的系统环境下去做编程。
Mac下的虚拟机三款:Parallels、VMWare和VirtualBox
Parallels性能最好,VMWare稳定,VirtualBox免费。
‘叁’ 最通用的编程语言是啥,能运行在win,linux,mac下,也能运行在WM,iphoneOS,android下,不要java。
win下自不用说,没啥语言在win下不能用的.....
linux主要还是c和c++
mac是基于unix的,也是c和c++最好
然后那几个移动设备.....
wm可以用c++,c#,vb.net
iphone是Objective-C,一种改进的c
android上层程序是java,底层也是c和c++
貌似交集很少吧......还是学c,c++吧,汇编的话如果写平常的程序太那啥了.......
‘肆’ mac系统编程的原理
随着苹果公司的复兴,越来越多的开发人员转向Mac OS X平台的开发。不过OSX平台使用的是很特别的Objective-C而非常规的C/C++,这使得很多开发人员对Mac OS X平台的开发有些望而却步,因此学习Objective-C以及Mac平台下的开发工具就显得相当重要了。因此,我挑选了一些相对比较新Mac OS X的开发系列书籍,分享给所有对Mac OS X平台软件开发感兴趣的朋友们。这些书籍大多为基于Mac OS X 10.4 Tiger平台的,但是依然很有参考价值。包括Objective-C,Cocoa,Quartz,XCode,AppleScript,Shell编程等相关书籍。
如果你对编程不感兴趣,但是像深入的了解Mac OS X的话,强烈推荐你阅读Mac OS X Internals,虽然该书中有很多很专业的知识,但是这本书绝对是了解Mac OS X的不二之选。配合下面介绍中给出的该书的配套网站阅读,效果更佳。
对上述一些名词的说明:
Objective-C:是C语言的一个超集,具有面向对象属性。因为语法与C语言差异较大,因此没有C++这么流行。Mac OS X就是由Objective-C开发而成。Objective-C是学习Mac OS X平台软件开发的第一步。
Cocoa:Cocoa是Mac OS X开发API的昵称。有点类似MFC之于Windows。在学会Objective-C的语法之后,就可以开始学习Cocoa,开发Mac OS X应用程序了。
Quartz:是Mac OS X的Aqua图形界面的2D图形加速引擎。
XCode:是Mac OS X下集成开发环境。类似Visual Studio至于Windows。XCode是免费的,包含在了Mac OS X的安装光盘之中,也可以通过网络下载。
AppleScript:AppleScript的设计目的就是让没有编程经验的用户来编写一些实用的自动处理脚本。AppleScript的语法十分接近自然语言,但是这并不意味着AppleScript很弱,事实上,AppleScript非常强大,可以让很多的系统维护工作变得非常的简单。用户还可以通过AppleScrpit自带的录制工具录制一系列操作的“宏”,系统会自动生成AppleScript脚本,以便于重复这一系列操作。AppleScript是Mac OS X Geeks必学之杀手锏。
Shell:熟悉UNIX/Linux的读者一定知道Shell是什么。Mac OS X基于UNIX,并通过了UNIX 03认证,掌握Shell编程可以让系统维护变得相当简单——特别是维护服务器系统。如果你对Mac OS X Server有兴趣,就一定要学学Shell编程了。
‘伍’ MacBook可以不安装Linux直接进行Linux编程么
Mac的核心是Unix,与Linux在某些方面并不兼容。所以,不能保证在Mac上编译的程序能在Linux上运行。
‘陆’ 如何在linux系统安装python编程环境
eclipse 是 JAVA 写的,全系统支持。
至于你说的那个 pydev ,我想应该也是解释型语言写的,里面不含二进制程序。都能跨平台。
‘柒’ mac,windows,linux各个系统介绍
Linux
From the name of its creator, Linus Torvalds, influenced by the term Unix. The original name of Linux was Freax, combining the words Free and Unix, and referring to phreaking. The administrator of the server on which Linux was first held didn't like the connection to phreaking, so Torvalds changed the name to Linux.
The Linux kernel is an operating system kernel used by the Linux family of Unix-like operating systems. It is one of the most prominent examples of free and open source software.The Linux kernel is released under the GNU General Public License version 2 (GPLv2) plus proprietary licenses for some controversial BLOBs and is developed by contributors worldwide. Day-to-day development takes place on the Linux kernel mailing list.The Linux kernel was initially conceived and created by Finnish computer science student Linus Torvalds in 1991. Early on, the MINIX community contributed code and ideas to the Linux kernel. At the time, the GNU Project had created many of the components required for a free software operating system, but its own kernel, GNU Hurd, was incomplete and unavailable. The BSD operating system had not yet freed itself from legal encumbrances. This meant that despite the limited functionality of the early versions, Linux rapidly accumulated developers and users who adopted code from those projects for use with the new operating system. The Linux kernel has received contributions from thousands of programmers. Many Linux distributions have been released based upon the Linux kernel.
Windows
Microsoft Windows is a series of software operating systems and graphical user interfaces proced by Microsoft. Microsoft first introced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces (GUIs). Microsoft Windows came to dominate the world's personal computer market, overtaking Mac OS, which had been introced previously. As of Octoboer 2009, Windows had approximately 93% of the market share of the client operating systems for usage on the Internet. The most recent client version of Windows is Windows 7; the most recent server version is Windows Server 2008.
mac
The Macintosh, or Mac, is a series of several lines of personal computers designed, developed, and marketed by Apple Inc. The first Macintosh was introced on January 24, 1984; it was the first commercially successful personal computer to feature a mouse and a graphical user interface rather than a command-line interface.Through the second half of the 1980s, the company built market share only to see it dissipate in the 1990s as the personal computer market shifted towards IBM PC compatible machines running MS-DOS and Microsoft Windows. Apple consolidated multiple consumer-level desktop models into the 1998 iMac all-in-one, which was a sales success and saw the Macintosh brand revitalized. Current Mac systems are mainly targeted at the home, ecation, and creative professional markets. They are: the aforementioned (though upgraded) iMac and the entry-level Mac mini desktop models, the workstation-level Mac Pro tower, the MacBook, MacBook Air and MacBook Pro laptops, and the Xserve server.
‘捌’ 目前常用的网络操作系统UNIX、Linux、NetWare、Windows NT/2000/2003/2008/Vista、Mac OS等各种操作系统的
unix网络管理能力最强,安全性最高。网络吞吐量最佳。典型的多任务多用户系统。一般用于银行,电子商务,大型信息中心。气象预报中心。属于专业级的网络操作系统。
Linux可以说是unix的简化了的免费软件。相比unix性能稍微差点,但是免费,也支持图形用户界面。现在用户慢慢的在增多。适合一般中小企业做开发。
NetWare现在基本很少用了,主要是企业里面采用这个。做网络管理。
Windows NT和windows家族的软件一样,好用,漂亮,但是网络管理安全性和性能比前两种打折扣。其他的都不是网络操作系统。属于个人操作系统。
‘玖’ 关于计算机的若干问题涉及Unix、Linux、C、Lisp
1.所有的计算机语言是否理论上功能上可以一致?
最终执行结果一致。实现解题的方法可能不同。
2.一种语言制造出来的工具是否可以去影响甚至破坏另外一种语言做出的东西?那么可能通过什么途径呢?(硬件,软件)
语言是一种工具,目的是为了操作与控制硬件,软件基于硬件运行,改变了软件设在硬件中的数据,自然也就对那个软件造成了影响。
3.C语言的特点是什么?优点、缺点,其他语言呢,它们各自擅长什么因改进什么问题而产生?
简洁,高效。但是仍比不过汇编,其它语言类似,效率最高是机器码,但你不可能去学习。都是为了解决实际中的应用而被开发出来。就像车用来代步。
4.Unix下的C和windows下的C有什么区别?
两者的C没有区别,但是两个系统会对实现上有一定的改变。你说的或者是VC和UNIX的C,如果要一个标准,那标准的C在UNIX下。
5.编程叙述的主体难道不是语言么?为什么会出现以系统命名的编程——Unix编程
编程叙述的主体不在语言,而在要解决问题的方法上。每一条指令都是一个解决该问题的操作。以系统命名的编程,那就是特定对于该系统进行的操作,之所以有这样的事情,是因为各个系统间的实现是不一样的。方法不同。说深点,接口方式不一样。
5.Lisp语言,标准化了成为Common Lisp为什么还是有两个分支?SBLP和CCL之间有什么区别?可以通用么?
这也是我一直想搞明白的东西。但是不管有哪个分支,对于往上都是兼容的。两者之间或许大同小异,必有各自的特点。要想通过,定要修改,但是正是有不同点,才是两种分支。
开发工具:
1.编辑器不可以运行么?
你想让它怎样运行,我想说,你在编译你的源码的时候,它就在运行。
2.如果编辑器可以运行,如何才能运行?
还是问你想让它如何运行?像普通的程序一样,点击图标(win),或者输入该编译器的编译指令(linux/unix)。
搭载环境:
1.在mac的Unix环境中如何搭载开发C的环境?
你或许可以去安装一个叫Xcode的工具。
2.在mac下如何搭载Lisp的开发环境?
这个我也不知道。但是请明白,Mac也是一种Unix,方法类似Unix/Linux,并且多数通用。这里说的不是指包的格式。
Sublime Text 2 这款编辑器,在mac下如何和C、Lisp编译器挂上钩,可以使其运行起来看结果?
我想你需要的是一个IDE,但是通常我会使用终端,也就是命令操作窗口来完成这些工作。
‘拾’ 如何通过mac os系统学习 linux系统的操作及编程
Mac OS底子其实是unix
如果说学习的是命令行操作,基本上和linux差别也不是很大,如果是图形界面那差别就较大了
至于编程其实无所谓操作系统了,关键是你要学的是什么语言。Mac OS下的主要是用Xcode
linux下的就多了,所以看你要学什么。