Usando variáveis na função system () c ++
string line;
ifstream myfile ("aaa.txt");
getline (myfile,line);
system("curl.exe -b cookie.txt -d test="+line+" <a href="http://example.com" rel="noreferrer">http://example.com</a>");
E isso não funciona! Eu também tentei line.c_str (); Mas também não funcionou. Por favor me ajude.