文件传输采用的winsock ,截屏采用的上一个帖子,下载文件采用上上个帖子,反正你在这个博客里搜一下就可以看到了,查看文件目录也是。。。不多说了,上代码。关于欲儿远控的说明
命令大全
dir-查询目录(查询对方指定路径的文件)——例如:dir-D:\\
down-下载链接-保存路径(让对方下载指定链接的文件)——例如:down-h...
其实呢,不是无法输入空格,是可以输入空格,只不过你输入了以后字符串就被分割了,所以要用到getline函数,我们先看看原来不能输入空格的代码#include <iostream>
#include <string>
using namespace std;
int main()...
利用的Gult做的立方体,总的来说不简单呀按键盘上下左右,可以控制角度#include <stdio.h>
#include <iostream>
#include <gl/glut.h>
#include <math.h>
using namespac...
有些时候有log是不够的,还是有个截屏来得踏实对吧#define _CRT_SECURE_NO_WARNINGS
#define _AFXDLL
#include<iostream>
#include <afxwin.h>
void Screen(char filena...
从数位上截取#include <iostream>
从位数上截取
#include <string>
using namespace std;
int main()
{
string str = ...
嗯嗯嗯,先上代码#include <iostream>
#include <string>
#include <io.h>
using namespace std;
void dir(string path)
{
long hFi...
直接上代码,服务端是接收文件的,客户端才是发送文件的/*server*/
#include <stdio.h>
#include <iostream>
#include <cstring>
#include <fstream>
#include <...
字符串分割,本来C++没有这个操作的,是利用数组转的#include <iostream>
#include <string>
#include <vector>
#include<algorithm>
using namespace std;
/...
原理是用的C/C++的 URLDownloadToFile函数所有的参数都必须是LPCWSTR,所以第一个结构体是string转LPCWSTR第二个结构体才是真正的下载文件的代码,主函数只需要传入两个string参数,一个是下载链接,一个是保存路径#include <stdio.h>
#include <tchar.h...
哈哈哈哈#include<winsock2.h>
#include<stdio.h>
#include <string.h>
#include <string>
#include<iostream>
using namespace std;
#pr...