介绍
在本实验中,你将学习如何在 C 语言中使用 strcmp()
函数来比较两个字符串,并根据比较结果执行不同的操作。
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
c(("`C`")) -.-> c/ControlFlowGroup(["`Control Flow`"])
c(("`C`")) -.-> c/CompoundTypesGroup(["`Compound Types`"])
c(("`C`")) -.-> c/UserInteractionGroup(["`User Interaction`"])
c/ControlFlowGroup -.-> c/if_else("`If...Else`")
c/CompoundTypesGroup -.-> c/strings("`Strings`")
c/UserInteractionGroup -.-> c/user_input("`User Input`")
subgraph Lab Skills
c/if_else -.-> lab-136079{{"`使用条件语句比较字符串`"}}
c/strings -.-> lab-136079{{"`使用条件语句比较字符串`"}}
c/user_input -.-> lab-136079{{"`使用条件语句比较字符串`"}}
end