Problem with using libcurl in c++

I use libcurl to send a request to the server. And the page set a cookies in local. I have set the COOKIEFILE and COOKIEJAR and what I need is to save the cookie to a variable
Such as verifysession=XXXXXX
how to store the XXXXXX in to char tmp[200]