- zangdi2018-12-07中级会员122057
- 本帖最后由 zangdi 于 2018-12-7 21:12 编辑 *
之前python3确实太麻烦了,所以又写了一个c++版,就当复习了一下c++吧
这个版本不用那么复杂了
只需要- yum install -y gcc
- yum install curl -y
- yum install gcc-c++ -y
- 复制代码
就完全ok了
服务器需要安装curl,因为借助的curl
直接上代码吧
- #include
- #include
- #include
- #include
- #include
- #include
- using namespace std;
- - class dict{
- string dict_key;
- string dict_value;
- public:
- dict(string key,string value){
- dict_key=key;
- dict_value=value;
- }
- string getkey();
- string getvalue();
- void show();
- };
- string dict::getkey(){
- return dict_key;
- }
- string dict::getvalue(){
- return dict_value;
- }
- void dict::show(){
- cout result;
- while(static_index复制代码
运行截图


使用方法
使用方法请到github或者我的博客上看哈
我的github
https://github.com/balckwilliam/renrenupload
我的博客
https://blog.mark56.cn/archives/102/
后续会适配aria2
后续上传适配一下其他的上传脚本
python3+shell请访问下边的帖子:
https://www.hostloc.com/thread-501738-1-1.html