
linux
Mr.Naruto
这个作者很懒,什么都没留下…
展开
-
linux C++ socket 传文件
// server.cpp#include<stdio.h>#include<stdlib.h>#include<string.h>#include<errno.h>#include<sys/types.h>#include<sys/socket.h>#include<netinet/in.h>#include<unistd.h>#define MAXLINE 4096int main(.转载 2021-07-15 14:25:30 · 860 阅读 · 0 评论 -
ubuntu16自启动,有效
要执行的文件命令写在exit 0之前 文件/etc/rc.local/sudo dpkg-reconfigure dash 选择 否比如说etc/rc.local 里面写的是:sh run_data.sh就需要给run_data.sh赋权限 sudo chmod 777 run_data.sh原创 2020-10-20 22:47:53 · 154 阅读 · 1 评论 -
linux压缩、解压文件夹
zip –q –r xahot.zip /home/wwwroot/xahottar -zcvf /home/xahot.tar.gz /xahots自己记一下原创 2019-04-24 21:22:05 · 3871 阅读 · 0 评论 -
记一次Windows下的工程转到Linux下2019年7月31日
Windows下工程的配置:vs2010+opengl+opencv2.4.3+C++boost库1.53+eigen+vlfeat 0.9.16需要转到linux下1、关于互斥锁,window和linux对应的API:https://www.cnblogs.com/lvdongjie/p/4452256.html2、#include<cstring> Linux中有str...原创 2019-07-25 08:03:13 · 569 阅读 · 0 评论 -
多线程的坑
robot@robot:~/ck_test1_wjw $ rosrun yuyi locationSegmentation fault (core dumped)robot@robot:~/ck_test1_wjw $ rosrun yuyi locationfreeglut ERROR: Internal error <FBConfig with necessary capab...原创 2019-08-15 08:18:06 · 2037 阅读 · 1 评论