上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页
摘要: 第一个标签的含义是将字体加粗,这是双标签,结束标签相比开始标签需要多一个/符号 而双标签与单标签的区在于双标签要包含某个内容,单标签则不用,在实际应用当中。也是双标签居多 第二行的标签含义是在字符的下方添加一行水平线 小总结: 阅读全文
posted @ 2025-10-21 18:33 冰涿 阅读(12) 评论(0) 推荐(0)
摘要: 定义一些ATM机中会运用到的基本元素 package NEW; public class Account { private String userName;//用户名 private String passWord;//账户密码 private String ueserId;//卡号 privat 阅读全文
posted @ 2025-10-19 18:05 冰涿 阅读(14) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<string.h> #include<stdlib.h> #include<math.h> #include<time.h> int main(){ float a = 3.14; double b = 3.14; printf("%f\n",a 阅读全文
posted @ 2025-10-17 17:05 冰涿 阅读(9) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<string.h> #include<stdlib.h> #include<math.h> #include<time.h> int main(){ //字符型变量 char ch = 'a'; char ar = 'z'; //相同的符号有不同 阅读全文
posted @ 2025-10-16 18:24 冰涿 阅读(11) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<string.h> #include<stdlib.h> #include<math.h> #include<time.h> int main(){ //整形变量 int a = 10; //短整形变量 short b = 20; //长整型变量 阅读全文
posted @ 2025-10-15 23:27 冰涿 阅读(11) 评论(0) 推荐(0)
摘要: #include<stdio.h> int main(){ int a; //通过键盘输入赋值 //&运算符,表示取地址运算符 scanf("%d",&a); printf("%d\n",a); return 0; } 阅读全文
posted @ 2025-10-14 17:11 冰涿 阅读(5) 评论(0) 推荐(0)
摘要: 数据类型关键字总共12个 字符型:char 整型:int short long (long long)最后一个较少接触 浮点型:float double 类型限定:unsigned signed 复合类型:struct(定义结构体) union(定义联合体或共用体) enum(枚举) 空类型:voi 阅读全文
posted @ 2025-10-14 16:55 冰涿 阅读(7) 评论(0) 推荐(0)
摘要: //导入一个文件,stdio.h std是一个标准库 i是input o是output即标准输入输出库 //h是头文件,但stdio之后可导入的不止头文件 //<>在这里的作用是导入系统文件,""则用来导入自定义文件 #include<stdio.h> //注释规则与JAVA相同 //数据类型 in 阅读全文
posted @ 2025-10-12 21:19 冰涿 阅读(5) 评论(0) 推荐(0)
摘要: package Demo2; //自定义异常类 public class Myexception extends Exception { //传递数字>10 private int detail; public Myexception(int a) { this.detail = a; } //重写 阅读全文
posted @ 2025-10-05 03:05 冰涿 阅读(13) 评论(0) 推荐(0)
摘要: 异常处理中的五个关键词 try,catch,finally,throw,throws package com.exception; public class Test { public static void main(String[] args) { int a = 1; int b = 0; / 阅读全文
posted @ 2025-10-04 00:19 冰涿 阅读(8) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页