Use NS (NeXtStep) Object in source.m, like:
creat a file in the folder where source.m at,named "GNUmakefile" with code:
- in console -
compile with command : make
run the app with command: ./obj/appname
source.m
get info = > Hello World!
本文介绍了一个使用NextStep环境进行应用开发的例子。通过创建一个简单的Hello World!程序,演示了从文件准备到编译运行的全过程。首先定义了一个NS字符串对象,并通过GNUmakefile配置文件设置编译参数,最后利用make命令完成编译。
Use NS (NeXtStep) Object in source.m, like:
creat a file in the folder where source.m at,named "GNUmakefile" with code:
- in console -
compile with command : make
run the app with command: ./obj/appname
source.m
get info = > Hello World!
173

被折叠的 条评论
为什么被折叠?