maven settings.xml


此配置使用代理服务器进行下载包<?xml version="1.0" encoding="UTF-8"?><!--Licensed to the Apache Software Foundation (ASF) under oneor mor

Spring笔记01-set注入


set注入注入外部Bean<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"

C++面向对象

笔记  C++ 

C++ OOPClass(1)private,protected,publicprivate(默认就是 private)private 声明的类的私有成员只能由同一类的其他成员或者它们的朋友访问#include <iostream>#include <string>class

Makefile常用


多文件编译CXX := g++CXXFLAGS := -g -Wall -Wextra -std=c++11 -IincludeDIRECTORIES := src include binSOURCE_FILES := $(wildcard src/*.cpp)EXECUTABLE := bin/m

C/C++条件编译


条件编译编译器根据条件的真假决定是否编译相关代码常见条件编译的方法根据宏是否定义#ifdef <macro>...#else...#endif举个例子 1 #include <stdio.h> 2 #define _DEBUG_ 3 int main(int argc,

Theory of Computation & Automata Theory

笔记 

绪论FSM 有限状态机CFL 上下文无关语言Turing machine 图灵机Undecidable 无法用机械解决的问题Finite State Machine 有限状态机Some noun meaningsSymbol a,b,c,0,1,2,3…Alphabet symbols的集合 c

滑动窗口模板


模板/* 滑动窗口算法框架 */void slidingWindow(string s, string t) { unordered_map<char, int> window; int left = 0, right = 0; while (right < s.

二分法(算法)


https://blog.csdn.net/qq_36102055/article/details/104375766https://www.acwing.com/solution/content/107848/https://www.acwing.com/problem/content/791/

快慢指针例题


https://www.acwing.com/solution/content/218914/https://www.acwing.com/solution/content/218913/

JDBC


JDBCJDBC为访问不同的数据库提供了统一的接口JDBC的基本原理## JDBC快速入门package com.hspedu.jdbc.myjdbc;import com.mysql.cj.jdbc.Driver;import java.sql.Connection;import java.sql