1 #include<iostream> 2 #include<cstring> 3 #include<cstdlib> 4 using namespace std; 5 struct node* create1(string); 6 struct node* create2(string); 7 ...
分类:
编程语言 时间:
2021-03-31 12:29:24
阅读次数:
0
template<typename T> void funcTmp(T a, T b) { cout << "this is yiban" << endl; } template<> void funcTmp(const char* a, const char* b) { cout << "this ...
分类:
编程语言 时间:
2021-03-31 12:19:34
阅读次数:
0
package main import ( "fmt" "time" ) func main() { s := NewServices( SetName("peter"), SetTimeout(time.Second*5), ) fmt.Println("name:", s.conf.Name) ...
分类:
其他好文 时间:
2021-03-31 12:16:53
阅读次数:
0
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <!-- <meta name="viewport" content="width=device-width,initial-scale=.33333,minim ...
分类:
移动开发 时间:
2021-03-31 12:13:18
阅读次数:
0
#include <iostream> #include <vector> #include <thread> #include <mutex> #include <condition_variable> #include <queue> #include <functional> using na ...
分类:
编程语言 时间:
2021-03-30 13:55:19
阅读次数:
0
虚函数 如果用基类指针指向一个衍生类对象,透过基类指针只能调用基类所定义的成员函数。 要实现透过基类指针调用子类成员函数(多态),需要使用 virtual 关键字。 MFC 有两个十分十分重要的虚 拟函数:与document 有关的Serialize 函数和与view 有关的OnDraw 函数 动态 ...
分类:
编程语言 时间:
2021-03-30 13:38:49
阅读次数:
0
1.选择Analyze——》Run Inspection by Name...或者使用快捷键Ctrl+Alt+Shift+I 2.在弹框中输入:unused declaration 3.弹框默认选择 4.等待下方读条结束会自动弹出Inspection Results弹窗 5.对没有用到的方法和变量提 ...
分类:
其他好文 时间:
2021-03-30 13:30:44
阅读次数:
0
Reconstruct Original Digits from English (M) 题目 Given a non-empty string containing an out-of-order English representation of digits 0-9, output the d ...
分类:
其他好文 时间:
2021-03-30 13:01:57
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< ...
分类:
Web程序 时间:
2021-03-30 12:55:39
阅读次数:
0
很明显之前学的方式 手动配置还是不够方便。就需要我们去学习Spring的自动装配! #autowire="byName" 定义几个简单类 package Demo; public class Cat { public void shout(){ System.out.println("miao~") ...
分类:
编程语言 时间:
2021-03-29 12:52:06
阅读次数:
0