1. Bad magic number in super-block 当尝试打开 /dev/sda3 时 找不到有效的文件系统超级块. https://blog.csdn.net/dn98201/article/details/78670278 ___________________________ ...
分类:
系统相关 时间:
2021-01-12 11:18:24
阅读次数:
0
在WEB网站开发过程中,如果我们将数据库连接字符串封装到.DLL文件中,将会给数据库和程序的迁移带来麻烦,因为万一服务器地址或者数据库发生变更,那么我们就不得不修改源程序并重新将其编译。最好的解决方法是将数据库连接字符串写入到web.config配置文件中,可问题是将连接字符串写入到web.conf ...
分类:
数据库 时间:
2021-01-12 11:13:43
阅读次数:
0
原文链接:https://blog.csdn.net/qq_26803795/article/details/106522611 文章目录 一、前言 二、内置分词器解析 2.1、内置分词器梳理 2.2、内置分词器对中文的局限性 三、安装IK分词器 3.1、下载IK分词器 3.2、编译源码包 3.3、 ...
分类:
其他好文 时间:
2021-01-12 10:47:41
阅读次数:
0
在.h文件中必须同时有模板的声明和明确的定义,不能在.cpp中却定义。 1 #ifndef STACKTP_H_ 2 #define STACKTP_H_ 3 template <class Type, int MAX> 4 class Stack 5 { 6 private: 7 Type ite ...
分类:
编程语言 时间:
2021-01-12 10:36:55
阅读次数:
0
备份原镜像 sudo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup sudo mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo ...
分类:
其他好文 时间:
2021-01-12 10:29:17
阅读次数:
0
note creator version : 4.13.1 敲黑板,一定要先配置好 Qt creator的default build directory , 再创建项目,最后再编译 敲黑板,一定要先配置好 Qt creator的default build directory , 再创建项目,最后再编 ...
分类:
其他好文 时间:
2021-01-11 11:24:06
阅读次数:
0
原题链接 考察:dfs或者bfs 暴力枚举即可,没有什么特别的技巧 dfs:找到了就标记一下,避免继续搜索(因为答案一定在long long里,所以超过18位就可以不用算了) bfs:用G++编译,找到当即退出.注意一定要让所有路径都有返回值否则报错 1 #include <cstdio> 2 #i ...
分类:
其他好文 时间:
2021-01-11 11:20:58
阅读次数:
0
Linux-C-GetUserName code //getUserName.c #include <iostream> #include <string> using namespace std; #ifdef linux #include <unistd.h> #include <pwd.h> ...
分类:
系统相关 时间:
2021-01-11 11:16:12
阅读次数:
0
Linux用户组和权限管理 1、linux安全模型 1、用户 Linux中每个用户是通过UID(User Id)来标识的 ? 管理员: root, 0 ? 普通用户: 1-60000自动分配 ? 系统用户:1-499 (centos 6以前),1-999(centos 7以后) ? 对守护进程获取资 ...
分类:
系统相关 时间:
2021-01-11 11:14:53
阅读次数:
0
1、 编译阶段 C++语言编译主要分为四个阶段: 源代码: 1 #include <stdio.h> 2 #include <assert.h> 3 4 #define paster( n ) printf( "token " #n" = %d\n ", token##n ) 5 int add(i ...
分类:
编程语言 时间:
2021-01-11 11:14:15
阅读次数:
0