|  |  |  | @ -44,6 +44,20 @@ input_data(istream& in, bool prompt) | 
			
		
	
		
			
				
					|  |  |  |  | int main(int argc, char* argv[]) | 
			
		
	
		
			
				
					|  |  |  |  | { | 
			
		
	
		
			
				
					|  |  |  |  |     curl_global_init(CURL_GLOBAL_ALL); | 
			
		
	
		
			
				
					|  |  |  |  |     CURL *curl = curl_easy_init(); | 
			
		
	
		
			
				
					|  |  |  |  |     if(curl) { | 
			
		
	
		
			
				
					|  |  |  |  |         CURLcode res; | 
			
		
	
		
			
				
					|  |  |  |  |         curl_easy_setopt(curl, CURLOPT_URL, "https://example.com"); | 
			
		
	
		
			
				
					|  |  |  |  |         res = curl_easy_perform(curl); | 
			
		
	
		
			
				
					|  |  |  |  |         curl_easy_cleanup(curl); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         if (res != 0){ | 
			
		
	
		
			
				
					|  |  |  |  |         cerr << curl_easy_strerror(res); | 
			
		
	
		
			
				
					|  |  |  |  |         exit(1); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |     curl_easy_cleanup(curl); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     if (argc > 1) { | 
			
		
	
		
			
				
					|  |  |  |  |         for (int i = 0; i < argc; i++) { | 
			
		
	
	
		
			
				
					|  |  |  | 
 |