常识积累

1. 工厂模式html

2.typenamec++

3. value_typegit

4.mutable__编程

5. 虚基类多线程

6.类的前向声明ssh

7.dynamic_cast主要用于类层次间的上行转换和下行转换,还能够用于类之间的交叉转换。异步

8. git push origin与git push -u origin master的区别函数

9.uml 类图   参考博客:https://www.cnblogs.com/shindo/p/5579191.html.net

10. 【C++】类中成员函数声明后面接 const线程

    c++ 函数前面和后面 使用const 的做用:前面使用const 表示返回值为const, 后面加 const表示函数不能够修改class的成员。

11.   ulimit  -c  的用法

12. C++中std::sort/std::stable_sort/std::partial_sort的区别及使用

13. cmakelists  文件的编写

14. C++中std::sort/std::stable_sort/std::partial_sort的区别及使用

15. 端口占用命令:netstat -anp查看端口占用状况  (端口预留)-- server 和 client 端口的分配

16. grep  彻底匹配

17.查看端口属于哪一个程序

     lsof -i :8080
18 .CMake命令之execute_process

 19. 登陆ip1    执行ssh-copy-id -i ~/.ssh/id_rsa.pub admin@ip   免密ssh 配置

20.  回调函数

        实现:其实回调函数就是一个经过函数指针调用的函数。若是用户层B把函数的指针(地址)做为参数传递给底层驱动A,当这个指针在A中被用为调用它所指向的函数时,咱们就说这是回调函数。 注意:是在A中被调用,这里看到尽管函数是在B中,可是B却不是本身调用这个函数,而是将这个函数的函数指针经过A的接口函数传自A中了,由A来操控执行,这就是回调的意义所在。

         关于回调函数的介绍:https://blog.csdn.net/qq_31930499/article/details/80654472 

          回调函数的同步异步执行

          pthread_join使一个线程等待另外一个线程结束。http://www.javashuo.com/article/p-pexhekue-bk.html

          在多线程编程的时候咱们每每都是以for循环的形式调用pthread_join函数

21. epoll 

      详解:http://www.javashuo.com/article/p-txmndpyl-cm.html

 

 22. git checkout .  命令

 

 

23. levledb  使用时 open 失败问题。打开对应的文件夹

 

24. thrift 

 

25.  c++ map之insert().second

26. 

using declarations和using directives的区别

 

27. 

strtol() 字符串转长整型函数   当字符串为空的时候是?

 

28.  std::function用法

    参考博文:https://blog.csdn.net/y396397735/article/details/51785596

 

 

29.  ssh登陆机器慢致使 scp 慢

http://www.mamicode.com/info-detail-1593652.html

 

30. md5sum -c --status .MD5

问题:md5sum: .MD5:找不到格式适用的MD5 校验和

格式不正确

 

31. gdb 调试时

Program terminated with signal SIGKILL, Killed.

装gdb 环境:sudo yum groups install "Development Tools"

相关文章
相关标签/搜索