IT入门 > 实战案例 > C语言实例 >
  • 学习使用auto定义变量的用法。 日期:2022-06-22 点击:1222 C语言精选100例

    C 练习实例42 题目: 学习使用auto定义变量的用法。 程序分析: 无。 程序源代码: 实例 // Created by www.runoob.com on 15/11/9. // Copyright © 2015年 菜鸟教程. All rights reserved. // #include stdio.h int...

  • 学习使用register定义变量的方法。 日期:2022-06-22 点击:932 C语言精选100例

    C 练习实例45 题目: 学习使用register定义变量的方法。 程序分析: 无。 程序源代码: // Created by www.runoob.com on 15/11/9.// Copyright © 2015年 菜鸟教程. All rights reserved.//#include stdio.hint main()...

  • 学习使用如何调用外部函数。 日期:2022-06-22 点击:608 C语言精选100例

    C 练习实例44 题目: 学习使用如何调用外部函数。 程序分析: 无。 程序源代码: 实例 // Created by www.runoob.com on 15/11/9. // Copyright © 2015年 菜鸟教程. All rights reserved. // #include stdio.h int...

  • 宏#define命令练习。 日期:2022-06-22 点击:1160 C语言精选100例

    C 练习实例46 题目: 宏#define命令练习。 程序分析: 无。 程序源代码: // Created by www.runoob.com on 15/11/9.// Copyright © 2015年 菜鸟教程. All rights reserved.//#includestdio.h#define TRUE 1#define FALSE 0#...

  • #include 的应用练习。 日期:2022-06-22 点击:1154 C语言精选100例

    C 练习实例50 题目: #include 的应用练习。 程序分析: 无。 程序源代码: test.h 文件代码如下: #define LAG #define SMA #define EQ == 主文件代码: // Created by www.runoob.com on 15/11/9.// Copyright © 2...

  • 宏#define命令练习3。 日期:2022-06-22 点击:1370 C语言精选100例

    C 练习实例48 题目: 宏#define命令练习3。 程序分析: 无。 程序源代码: // Created by www.runoob.com on 15/11/9.// Copyright © 2015年 菜鸟教程. All rights reserved.//#define LAG #define SMA #define EQ ==#includ...

  • #if #ifdef和#ifndef的综合应用。 日期:2022-06-22 点击:1358 C语言精选100例

    C 练习实例49 题目: #if #ifdef和#ifndef的综合应用。 程序分析: 无。 程序源代码: // Created by www.runoob.com on 15/11/9.// Copyright © 2015年 菜鸟教程. All rights reserved.//#includestdio.h#define MAX#defin...

  • 学习使用按位与 &。 日期:2022-06-22 点击:966 C语言精选100例

    C 练习实例51 题目: 学习使用按位与 。 程序分析: 00=0; 01=0; 10=0; 11=1 。 程序源代码: // Created by www.runoob.com on 15/11/9.// Copyright © 2015年 菜鸟教程. All rights reserved.//#include stdio.hint main(...

  • 学习使用按位或 |。 日期:2022-06-22 点击:850 C语言精选100例

    C 练习实例52 题目: 学习使用按位或 |。 程序分析: 0|0=0; 0|1=1; 1|0=1; 1|1=1 。 程序源代码: // Created by www.runoob.com on 15/11/9.// Copyright © 2015年 菜鸟教程. All rights reserved.//#includestdio.hint m...

  • 学习使用按位异或 ^。 日期:2022-06-22 点击:1279 C语言精选100例

    C 练习实例53 题目: 学习使用按位异或 ^。 程序分析: 0^0=0; 0^1=1; 1^0=1; 1^1=0 。 程序源代码: // Created by www.runoob.com on 15/11/9.// Copyright © 2015年 菜鸟教程. All rights reserved.//#include stdio.hi...