Anonymous
public c v1 · immutable#include <stdio.h>#include <ctype.h>#include <curl/curl.h>int main(void){ goto_url_f();}int goto_url_f(){ CURL* handle = curl_easy_init(); if(handle != NULL) { CURLcode code = curl_easy_setopt(handle, CURLOPT_URL, "http://www.google.com"); if(code != CURLE_OK) { printf("Something happend!\n"); } else { printf("We have a handle!\n"); } } else { printf("Something went horribly wrong!\n"); }}