2022年5月25日

摘要: https://phoenixnap.com/kb/ssh-permission-denied-publickey 在/etc/ssh/sshd_config中确认有以下设置 PasswordAuthentication yes. ChallengeResponseAuthentication no 阅读全文
posted @ 2022-05-25 20:17 dingyun 阅读(51) 评论(0) 推荐(0)

2022年3月7日

摘要: #include <stdio.h> int main(){ char ray_tx_pwr[2][3]={{1,2,3},{4,5,6}}; int i = 0; printf("r %d",ray_tx_pwr[0]); return 0;} #include <stdio.h>#define 阅读全文
posted @ 2022-03-07 09:15 dingyun 阅读(106) 评论(0) 推荐(0)

2022年2月10日

摘要: $ sudo apt-get install libssl-dev 阅读全文
posted @ 2022-02-10 13:53 dingyun 阅读(90) 评论(0) 推荐(0)

2017年7月28日

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-07-28 09:57 dingyun 阅读(0) 评论(0) 推荐(0)

2015年12月4日

摘要: 在一个vs2013解决方案下创建了三个工程文件,在其中一个工程(Foundation)中放有CtrlMessage.pb.h和ControlMessageTags的头文件。编译后出错总共68处。错误 2 error LNK2019: 无法解析的外部符号 "void __cdecl google::... 阅读全文
posted @ 2015-12-04 18:00 dingyun 阅读(5259) 评论(0) 推荐(0)

2015年12月3日

摘要: 1、添加图标HICON icon[10];icon[0]=AfxGetApp()->LoadIcon(IDI_ICON1);icon[1]=AfxGetApp()->LoadIcon(IDI_ICON5);m_imagelist.Create(16,16,ILC_COLOR32| ILC_MASK,... 阅读全文
posted @ 2015-12-03 16:15 dingyun 阅读(774) 评论(0) 推荐(0)
摘要: 新建了一个NM_Click消息响应函数,用hParent = m_TreeCtrl.GetSelectedItem();m_TreeCtrl.GetItemText(hParent);获取当前选中的文本,但获取的竟然是前一次点击的文本,而非当前点击的文本,请问这是问什么?怎样才能正确获取当前点击的文... 阅读全文
posted @ 2015-12-03 16:10 dingyun 阅读(599) 评论(0) 推荐(0)
摘要: C++ Error:C2011: 'struct' type redefinition在c语言中,对同一个变量或者函数进行多次声明是不会报错的。所以如果h文件里只是进行了声明工作,即使不使用# ifndef宏定义,一个c文件多次包含同一个h文件也不会报错。 但是在c++语言中,#ifndef的作用... 阅读全文
posted @ 2015-12-03 10:43 dingyun 阅读(1480) 评论(0) 推荐(0)

2015年4月7日

摘要: 前者的以步长为1进行遍历,后者遍历每一个元素。 阅读全文
posted @ 2015-04-07 15:46 dingyun 阅读(189) 评论(0) 推荐(0)

2015年4月5日

摘要: protoc命令格式 protoc -I=SRC -cpp_out = DRC SRC\*.proto SRC:源路径;DRC:目的路径;当出现下面无法打开文件错误时,应在工程属性目录下的包含目录文件中添加工程所在路径 D:\!exercise\c++\protob1\protob1\错误 1 e... 阅读全文
posted @ 2015-04-05 21:57 dingyun 阅读(1362) 评论(0) 推荐(0)

导航