NVIDIA Jetson TK1学习与开发(五):helloworld的C版本与C++版本

最后更新于:2022-04-01 16:04:08

从本篇博文开始,将一一探索Jetson TK1的开发过程,那就从最简单的hello world开始吧。 本次将介绍hello world的两种写法。 ### 1、C版本hello world 新建helloworld.c: ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-05-07_572d616d70dee.jpg) 输入代码: ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-05-07_572d616d83977.jpg) 编译链接运行: ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-05-07_572d616d98b4f.jpg) ### 2、C++版本hello world 新建helloworld.cpp: ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-05-07_572d616dad5d9.jpg) 输入代码: ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-05-07_572d616dbe766.jpg) 编译链接运行: ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-05-07_572d616dd5a0c.jpg) 对,就是这么简单!大家都会的。。。![大笑](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-19_569e21abc5518.gif)
';