学习一门新的语言无非就是从基本的语法开始的。通过语法书来学习语言毕竟是非常枯燥的,所以我们不妨从最简单的例子开始学习一门新的语言。例子不多,但是有代表性。
(a)最简单的代码
(b)基本的函数
(c)if语句学习
(d)switch语句学习
(e)循环语句学习
(f)结构体学习
学习一门新的语言无非就是从基本的语法开始的。通过语法书来学习语言毕竟是非常枯燥的,所以我们不妨从最简单的例子开始学习一门新的语言。例子不多,但是有代表性。
(a)最简单的代码