


C++ требуется имя члена
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
int main() {
std::string proxy_list_path = "proxy_list.txt";
std::ifstream file(proxy_list_path);
if (!file) {
std::cout << "Error: cannot open proxy list file" << std::endl;
return 1;
}
// Read proxy list file and save to array
std::vector <std::string> proxy_list;
std::string line;
while (std::getline(file, line)) {
proxy_list.push_back(line);
}
file.close();
// Connect to Twitch stream
const char* stream_url = " https://www.twitch.tv/abc/embed ";
int port = 443;
for (int i = 0; i < proxy_list.size(); i++) {
// Connect through proxy server
int proxy_port = 80; // default port for HTTP proxy
const char* proxy_url = proxy_list[i].
у тебя ошибка в ДНК: выложил огрызок исходника, не указал, в чем именно проблема.