package operator; public class Demo01 { public static void main(String[] args) { //二元运算符 //Ctrl+D 复制当前行到下一行 int a=10; int b=20; int c=30; int d=40; Sy ...
分类:
其他好文 时间:
2021-03-06 14:45:10
阅读次数:
0
前言 最近工作中,需要将查询的一段时间的数据可视化,并导出为word格式。由于对word操作不熟悉,查阅了一下相关文档,这里简要记录一下如何使用python操作word。 说明 本代码来源于官方文档(https://python-docx.readthedocs.io/en/latest/),这里对 ...
分类:
编程语言 时间:
2021-03-06 14:15:46
阅读次数:
0
写好封装类(给属性、建好自己需求的方法,用get/set封装好)。主类和封装类的区别是有没有main() 主类给属性、建对象、调用封装类,如下例 package com.operator; //封装类 public class Rect { double width; double height; ...
分类:
其他好文 时间:
2021-03-03 12:20:35
阅读次数:
0
std::map的实现 template <class Pair> struct Select1st_ { const typename Pair::first_type& operator()(const Pair& x) const { return x.first; } }; template ...
分类:
其他好文 时间:
2021-03-01 13:20:12
阅读次数:
0
优先级最高(), 算术运算符:+、-、*、/、&、++、-- 赋值运算符:= 关系运算符:>、<、>=、<=、==、!=instanceof 逻辑运算符:&&、||、! 位运算符:&、|、^、~、>>、<<、>>> 条件运算符:? : 案例如下 package operator; public cl ...
分类:
其他好文 时间:
2021-03-01 12:51:55
阅读次数:
0
当编写WHERE带有包含文本数据的列的子句时,SQL支持许多有用的运算符来执行诸如不区分大小写的字符串比较和通配符模式匹配之类的操作。我们在下面显示一些常见的文本数据特定运算符: Operator Condition Example = 区分大小写的精确字符串比较(注意单个等于) col_name= ...
分类:
数据库 时间:
2021-02-22 12:38:09
阅读次数:
0
Java的流程控制 Scanner对象 import java.util.Scanner; public class Demo01{ public static void main(String [] args){ Scanner scanner = new Scanner(System.in);/ ...
分类:
其他好文 时间:
2021-02-20 11:50:00
阅读次数:
0
https://www.acwing.com/problem/content/1143/ \(裸题\) #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); c ...
分类:
其他好文 时间:
2021-02-17 14:58:39
阅读次数:
0
Switch选择结构学习 接上一篇博客的switch public static void main(String[] args) { String name = "芜湖"; //JDK7新特性,表达式结果可以是字符串 //字符的本质还是数字? //反编译 java--class(字节码文件) 反编 ...
分类:
编程语言 时间:
2021-02-17 14:18:49
阅读次数:
0
While和Do..while循环结构 while(布尔表达式){ //循环内容} 只要布尔表达式为true,循环就会一直执行下去 大多数情况下会让循环停止下来,我们需要一个让表达式失效的方式来结束循环 少数情况需要循环一直进行,比如服务器的请求响应监听 循环条件一直为true就会造成无限循环【死循 ...
分类:
编程语言 时间:
2021-02-17 14:18:15
阅读次数:
0