系统相关
首页 > 系统相关> > Linux C语言编程基础

Linux C语言编程基础

作者:互联网

# Linux C语言编程基础
0.基于Ubuntu或OpenEuler完成下面的任务(OpenEuler有加分)
<font color ="red">1.</font> 选择教材第二章的一节进行编程基础练习(2.10,2.11,2.12,2.13,2.14任选一个)
<font color ="red">2.</font> 建立自己的项目目录,包含自己学号信息(如20190100linkedlist),构建项目结构(src, include,bin, lib, docs, test...),然后把相应代码和文档放置到正确位置,用tree命令查看项目结构,提交截图(5分) ![tree](https://upload-images.jianshu.io/upload_images/27026182-09d5603c2226f534.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
<font color ="red">3.</font> 进行gcc相关练习(ESc, iso, -I等)提交相关截图(5分) ![esc-iso](https://upload-images.jianshu.io/upload_images/27026182-1f42d5d9d38cde0e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) -I操作我用的是PPT上的代码,但PPT的代码有个问题是main.c文件中缺少#include”head.h”。 ![include](https://upload-images.jianshu.io/upload_images/27026182-2a736957abb9d7f3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) ![-I](https://upload-images.jianshu.io/upload_images/27026182-7443277d66896b67.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
<font color ="red">4.</font> 进行静态库,动态库制作和调用练习,提交相关截图(5分)
静态库

<font color ="red">5.</font>进行gdb相关练习,至少包含四种断点的设置,提交相关截图(10分)
<font color ="red">6.</font> 编写makefile(5分)

标签:auto,编程,upload,C语言,27026182,Linux,images,jianshu,orient
来源: https://www.cnblogs.com/GanNy/p/15340575.html