#include<stdio.h>#include<string.h>#include<stdlib.h>#include<windows.h>typedef struct student //定义结构体 { char name[20]; //姓名 char num[15]; //学号 char s ...
分类:
其他好文 时间:
2021-06-21 20:34:02
阅读次数:
0
#include<stdlib.h> #include<stdio.h> #include<string.h> #define MAX 10005 typedef struct node { char a[16]; int len; }node; node te,t[MAX]; int n=0; v ...
分类:
其他好文 时间:
2021-06-21 20:33:31
阅读次数:
0
一、编程规约 (一)命名风格 【推荐】代码命名严禁使用拼音或英文拼音混合方式,更不允许直接使用中文命名,惯例词除外。 【推荐】类名使用 UpperCamelCase 风格,遵守驼峰形式。 【推荐】方法名、参数名、成员变量、局部变量使用 lowerCamelCase 风格,遵守驼峰形式。 【推荐】常量 ...
分类:
其他好文 时间:
2021-06-21 20:32:04
阅读次数:
0
1.android的HttpURLConnection发送POST请求 核心代码: PostUtils.java public class PostUtils { public static String LOGIN_URL = "http://172.16.2.54:8080/HttpTest/S ...
分类:
其他好文 时间:
2021-06-21 20:31:45
阅读次数:
0
前端时间,通过画脑图记录的方式深入分析了一下:spring底层容器的刷新过程,现在拆分为博客,分享一下。后面会附上脑图的原文件,供大家查看。 public class BeanAutowired { public static void main(String[] args) { Applicati ...
分类:
移动开发 时间:
2021-06-21 20:31:10
阅读次数:
0
算法思想 冒泡排序属于一种典型的交换排序。 交换排序顾名思义就是通过元素的两两比较,判断是否符合要求,如过不符合就交换位置来达到排序的目的。冒泡排序名字的由来就是因为在交换过程中,类似水冒泡,小(大)的元素经过不断的交换由水底慢慢的浮到水的顶端。 冒泡排序的思想就是利用的比较交换,利用循环将第 i ...
分类:
编程语言 时间:
2021-06-21 20:30:56
阅读次数:
0
效果图: cs: 1 /// <summary> 2 /// ColorPick.xaml 的交互逻辑 3 /// </summary> 4 public partial class ColorPick : UserControl 5 { 6 ChangeSource _changeSource; ...
beautifulsoup之CSS选择器 BeautifulSoup支持大部分的CSS选择器,其语法为:向tag或soup对象的.select()方法中传入字符串参数,选择的结果以列表形式返回。 tag.select("string") BeautifulSoup.select("string") ...
分类:
其他好文 时间:
2021-06-21 20:26:48
阅读次数:
0
1、获取行数 dataGridView1.Rows.Count; 2、选中某行 dataGridView1.ClearSelection();// 清除其他行选择 dataGridView1.Rows[dataGridView1.Rows.Count - 1].Selected = true;//选 ...
问题抛出:静态常量(static final)可以再编译器确定字面量,但常量(final或者String a = “a”或者Integer的 -128-127)并不一定在编译期就确定了, 也可以在运行时确定.所以Java针对某些情况制定了常量优化机制。 拓展: 为啥Integer是-128-12 如 ...
分类:
编程语言 时间:
2021-06-21 20:12:37
阅读次数:
0