介绍
在这个挑战中,你将通过创建一个个性化的问候程序来展示你的基本 C 编程技能。作为一名初级开发者,你将使用 printf()
函数打印一条问候信息,其中包含你的名字,并说明你正在学习 C 编程。程序必须保存为 greeting.c
,包含 <stdio.h>
头文件,并在执行结束时返回 0。你还需要使用 gcc
命令编译该程序。
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
c(("C")) -.-> c/UserInteractionGroup(["User Interaction"])
c(("C")) -.-> c/BasicsGroup(["Basics"])
c(("C")) -.-> c/FunctionsGroup(["Functions"])
c/BasicsGroup -.-> c/variables("Variables")
c/FunctionsGroup -.-> c/function_declaration("Function Declaration")
c/UserInteractionGroup -.-> c/output("Output")
subgraph Lab Skills
c/variables -.-> lab-438337{{"编写你的第一个 C 语言问候程序"}}
c/function_declaration -.-> lab-438337{{"编写你的第一个 C 语言问候程序"}}
c/output -.-> lab-438337{{"编写你的第一个 C 语言问候程序"}}
end