功能模块分析 1.首页(菜单功能)2.添加学生信息3.删除学生信息4.显示学生信息5.修改学生信息6.按照学生年龄排序 代码如下: def main(): while True: printmenu() #打印菜单 number = int(input("请输入功能对应的数字:")) if numb ...
分类:
编程语言 时间:
2021-03-11 20:36:31
阅读次数:
0
public class Demo04 { public static void main(String[] args) { //低 >高 //byte、short、char->int->long->float->double int i = 128; //强制转换,(类型)变量名 高-->低 by ...
分类:
编程语言 时间:
2021-03-11 19:31:35
阅读次数:
0
【资源下载】下载地址如下:https://docs.qq.com/doc/DTlRSd01BZXNpRUxl #include <reg52.h> #include <intrins.h> #define uchar unsigned char // 以后unsigned char就可以用uchar ...
分类:
其他好文 时间:
2021-03-11 14:48:55
阅读次数:
0
#include <stdio.h>#include <stdlib.h>void myputs(char*p) //此处的*号是标志,标志这P是一个指针{ if(p==NULL){ printf("需要输出的字符串为空,请重新输入"); }else{ while(1) {putchar(*p++) ...
分类:
其他好文 时间:
2021-03-11 14:18:40
阅读次数:
0
加号的多种用法 四则运算当中的加号“+”常见的三种用法: 1.对于数值来说,那就是加法。 2.对于字符串char类型来说,在计算前,char会被提升成为int,然后再计算。 char类型字符,和int类型数字之间的对照关系表:ASCII、Unicode 3.对于字符串String(首字母大写,并不是 ...
分类:
编程语言 时间:
2021-03-10 13:35:20
阅读次数:
0
顺序语句 案例 package com.bk201.struct; public class ShunXuDemo { public static void main(String[] args) { System.out.println("H"); System.out.println("e"); ...
分类:
其他好文 时间:
2021-03-10 13:13:09
阅读次数:
0
按英文的字面意思就比较好理解了: 常量指针:pointer to const 字面意思:指向常量的指针 指针常量:const pointer 字面意思:指针本身是个常量 看一段代码: char hello[6] = "hello"; char world[6] = "world"; const ch ...
分类:
编程语言 时间:
2021-03-10 12:55:03
阅读次数:
0
最近工作项目中需要使用到邮件功能,参考网上的文章,实现了一个基于java的邮件发送功能;直接上代码: 1、依赖 ...
分类:
编程语言 时间:
2021-03-09 13:23:52
阅读次数:
0
1 int ngx_cdecl 2 main(int argc, char *const *argv) 3 { 4 ngx_buf_t *b; 5 ngx_log_t *log; 6 ngx_uint_t i; 7 ngx_cycle_t *cycle, init_cycle; 8 ngx_conf ...
分类:
其他好文 时间:
2021-03-09 13:10:05
阅读次数:
0
###1.我的解题代码 class Solution { public boolean containsDuplicate(int[] nums) { boolean flag = false; HashSet<Integer> set = new HashSet<>(); for(int i:nu ...
分类:
编程语言 时间:
2021-03-09 12:58:00
阅读次数:
0