• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






天生自然

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  吴裕雄--天生自然C语言开发学习笔记

上一页 1 2

 
吴裕雄--天生自然C语言开发:判断
摘要:if(boolean_expression) { /* 如果布尔表达式为真将执行的语句 */ } #include int main () { /* 局部变量定义 */ int a = 10; /* 使用 if 语句检查布尔条件 */ if( a int main () { /* 局部变量定义 */ int a = 100; ... 阅读全文
posted @ 2019-06-03 16:14 吴裕雄 阅读(127) 评论(0) 推荐(0)
吴裕雄--天生自然C语言开发:运算符
摘要:#include int main() { int a = 21; int b = 10; int c ; c = a + b; printf("Line 1 - c 的值是 %d\n", c ); c = a - b; printf("Line 2 - c 的值是 %d\n", c ); c = a * b; printf("Li... 阅读全文
posted @ 2019-06-03 16:09 吴裕雄 阅读(173) 评论(0) 推荐(0)
吴裕雄--天生自然C语言开发:存储类
摘要:{ int mount; auto int month; } { register int miles; } #include /* 函数声明 */ void func1(void); static int count=10; /* 全局变量 - static 是默认的 */ int main() { while (count--) {... 阅读全文
posted @ 2019-06-03 15:12 吴裕雄 阅读(165) 评论(0) 推荐(0)
吴裕雄--天生自然C语言开发:数据类型
摘要:#include #include int main() { printf("int 存储大小 : %lu \n", sizeof(int)); return 0; } #include #include int main() { printf("float 存储最大字节数 : %d \n", sizeof(float)); printf("f... 阅读全文
posted @ 2019-06-03 15:06 吴裕雄 阅读(264) 评论(0) 推荐(0)
 

上一页 1 2