1、 启动Tornado

2、 建立Downloadable application module,按照自己的意愿设置路径、工程名和工作空间。本例中工作空间和工程均为HelloWorld

3、 选择File|New建立test.c文件并加入到工程。

4、 test.c中输入如下代码:

#include <stdio.h>

 

int first_test(void)

{

  printf("hello world!\n");

}



5、
选择Build|Build创建HelloWorld.out

6、 选择Tools|Simulator启动仿真器。

7、 Files窗口中右击HelloWorld Files,从菜单中选择Download HelloWorld.out

8、 选择Tools|Shell或点击工具条上的Launch Shell按钮,启动Shell

9、 Shell窗口中输入first_test,就可以看到Hello word输出了。

相关文章:

  • 2021-10-26
  • 2022-01-07
  • 2021-10-07
  • 2022-12-23
  • 2021-07-09
  • 2021-12-29
  • 2021-11-18
  • 2021-08-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-07
  • 2022-12-23
  • 2021-10-18
  • 2021-11-29
  • 2022-12-23
相关资源
相似解决方案