摘要:
想要禁用键盘,首先要找到键盘的设备号(其他设备也是如此),在终端输入以下命令查看当前输入设备, xinput list 然后,找到笔记本键盘对应的序列号,笔记本键盘的设备名称应该是AT啥啥keyboard,记住它的序列号。 然后,根据序列号输入命令进行禁用,之前在网上查的禁用命令是 xinput s 阅读全文
摘要:
错误:invalid initialization of reference of type 'const Quote&' from expression of type 'const key_type {aka const std::shared_ptr<Quote>}' 解释:用const st 阅读全文
摘要:
第一版: 简单实现 在int main 主函数中读取数据,使用switch语句分别进行操作。不同操作用类实现。 #include <iostream> using namespace std; static int num_a; static int num_b; static char op; v 阅读全文