小编mar*_*tin的帖子

在system()函数c ++中使用变量


  string line;
  ifstream myfile ("aaa.txt");
  getline (myfile,line);
  system("curl.exe -b cookie.txt -d test="+line+"  http://example.com");

它不起作用!我也试过line.c_str(); 但它也没有用.请帮我.

c++ windows curl system

6
推荐指数
2
解决办法
2万
查看次数

标签 统计

c++ ×1

curl ×1

system ×1

windows ×1