介绍
在本实验中,我们将使用 C++ 创建一个简单的计算器程序。该程序将使用 switch
语句来执行基本的算术运算,如加法、减法、乘法和除法。
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
cpp(("`C++`")) -.-> cpp/BasicsGroup(["`Basics`"])
cpp(("`C++`")) -.-> cpp/ControlFlowGroup(["`Control Flow`"])
cpp(("`C++`")) -.-> cpp/IOandFileHandlingGroup(["`I/O and File Handling`"])
cpp(("`C++`")) -.-> cpp/SyntaxandStyleGroup(["`Syntax and Style`"])
cpp/BasicsGroup -.-> cpp/variables("`Variables`")
cpp/ControlFlowGroup -.-> cpp/switch("`Switch`")
cpp/IOandFileHandlingGroup -.-> cpp/output("`Output`")
cpp/IOandFileHandlingGroup -.-> cpp/user_input("`User Input`")
cpp/IOandFileHandlingGroup -.-> cpp/files("`Files`")
cpp/SyntaxandStyleGroup -.-> cpp/comments("`Comments`")
cpp/SyntaxandStyleGroup -.-> cpp/code_formatting("`Code Formatting`")
subgraph Lab Skills
cpp/variables -.-> lab-96238{{"`简单计算器程序`"}}
cpp/switch -.-> lab-96238{{"`简单计算器程序`"}}
cpp/output -.-> lab-96238{{"`简单计算器程序`"}}
cpp/user_input -.-> lab-96238{{"`简单计算器程序`"}}
cpp/files -.-> lab-96238{{"`简单计算器程序`"}}
cpp/comments -.-> lab-96238{{"`简单计算器程序`"}}
cpp/code_formatting -.-> lab-96238{{"`简单计算器程序`"}}
end