如何在C ++中获取网页的HTML源代码? [关闭]

我用Python编写了一个程序,该程序可以从用户那里接收URL,从该网站获取HTML源代码,对其进行一些基本分析,然后继续进行其主要过程。使用该语言,前两个步骤非常容易实现,如下所示:

import requests

url_string = input()
html_string = requests.get(url_string).text
print(html_string)

However, I tried to remake that program in C++ and I am struggling to do that same steps. I searched for a while and found some tips about libcurl, cURLpp and WinINet, but none of them seemed to work. I couldn't even install the first two properly in Code::Blocks (Win 10 64bits). Could you guys help me? I don't need a super powerful parser because I could write the data analysis part myself, but just get the HTML source code as a string.