摘要: 不知道为啥我安装vmware之后 相关nat dhcp服务默认禁用 导致虚拟机无法连接网络 后来发现是火绒等杀毒软件 把启动项关闭了 允许启动就好了 阅读全文
posted @ 2020-01-26 01:47 冷眼旁观你的泪 阅读(865) 评论(0) 推荐(0) 编辑
摘要: 1 #pragma once 2 #include "..\..\dscript\table.h" 3 #include "..\..\dscript\table\D_resEditListCtrl.h" 4 #include "..\PropertyGridEx\DrawLotsDlg.h" 5 阅读全文
posted @ 2019-12-22 14:32 冷眼旁观你的泪 阅读(656) 评论(0) 推荐(0) 编辑
摘要: 1 #pragma once 2 #include <afxwin.h> 3 #include <memory> 4 #include "project_scjd/YwEmpDataControl.h" 5 #include "cg/fyq_interpreter.h" 6 #include "cg 阅读全文
posted @ 2019-12-22 14:30 冷眼旁观你的泪 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 1.在序列化的类里面声明 DECLARE_SERIAL_DSCRIPT(class) 2.在类外声明父子类关系 IMPLEMENT_SERIAL( 派生类,基类,0) 3.序列化函数 1 void Cfyq_scope::Serialize(CArchive& ar) 2 { 3 int right 阅读全文
posted @ 2019-11-07 14:12 冷眼旁观你的泪 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 1 #define HTONL(n) (((((unsigned long)(n) & 0xFF)) << 24) | ((((unsigned long)(n) & 0xFF00)) << 8) | ((((unsigned long)(n) & 0xFF0000)) >> 8) | ((((unsigned long)(n) & 0xFF000000)) >> 24)) 2 #define H 阅读全文
posted @ 2019-10-14 11:21 冷眼旁观你的泪 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 int main() 4 { 5 int n; 6 scanf("%d", &n); 7 8 vector<int> vec(n); 9 for (int i = 0; i < n; i++)scanf("%d", &vec[i]); 10 unordered_set<int> s; 11 12 阅读全文
posted @ 2019-10-14 11:17 冷眼旁观你的泪 阅读(200) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; int main() { int n,m,k; cin >> n >> m >> k; int a[n][m]; for(int i = 0;i < n;++i) for(int j = 0;j < m; ++j) { cin >> a[i][j]; } int x ; int col = m - 1; in 阅读全文
posted @ 2019-10-14 10:06 冷眼旁观你的泪 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1 CString CmuchbyteDlg::GetChinese(int size,CString &str) 2 { 3 4 DWORD dBufSize = MultiByteToWideChar(CP_ACP, 0, str, str.GetLength(), NULL, 0); 5 6 wchar_t * dBuf=new wchar_t[dBufSize]; 7 //初始化 8 wm 阅读全文
posted @ 2019-10-14 09:31 冷眼旁观你的泪 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 困扰我多年的问题,用vscode也会出现类似的错误。网上的许多方案都是下载360,火绒类似的方案,但是治标不治本,过一段时间又不好了。其根本原因是映像劫持造成的,可以理解成病毒,下面我主要介绍一下: 映像劫持的根本原因就是被恶意程序篡改了注册表HKEY_LOCAL_MACHINE\SOFTWARE\ 阅读全文
posted @ 2019-08-20 09:52 冷眼旁观你的泪 阅读(2499) 评论(5) 推荐(1) 编辑
摘要: 1. 自我介绍 ​ 这是面试相当重要的一个环节,建议提前准备好模板,自己多对着镜子练一练。 2. 大学里面除了上课还做过什么? ​ 我只说了acm,但是面试官似乎不太满意。 3. 你现在在100层,一次只能下1层或者2层,请问到1层有几种方法。 ​ 写代码的时候一定要注意代码规范,而且这个题我没用记 阅读全文
posted @ 2019-08-15 09:32 冷眼旁观你的泪 阅读(1644) 评论(0) 推荐(0) 编辑