I am eventually going to call url dynamically from mysql but below is pretty close what i'm trying to do before i plug mysql into my program. The error that gets returned is error code 3
which i believe means the url was formatted poorly anyone know what im doing wrong

Code:
	
string x="http://www.mysite.com/";
     curl = curl_easy_init();  
 	  curl_easy_setopt(curl, CURLOPT_URL, x);

Thanks