Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7443299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:18:34+00:00 2026-05-29T11:18:34+00:00

I am using Microsoft Visual Studio 2010 and C++ language that runs on the

  • 0

I am using Microsoft Visual Studio 2010 and C++ language that runs on the console.

I am trying to go to a web page, then get the source of that webpage (What I mean by source is: in Firefox, when you right click, then “View Page Source”) and save it in my computer as a text file, so that I can read that saved file later on. Can you please give me an example of how to go to a website in c++ and then save the HTML source code in to my computer? I would greatly appreciate any help

And how can you install libcurl?

When I use #include <curl/curl.h> it says Error: cannot open source file “curl/curl.h.”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T11:18:34+00:00Added an answer on May 29, 2026 at 11:18 am

    You need to use some of tools that support HTTP e.g. WinINet (Windows) or libcurl (multiplatform). I was using WinINet for communication with web servers and getting the content of the page was pretty easy. Here are some links to give you a hint of what to do:

    Get web page using WinInet class wrapper
    Using WinInet as an alternative to libcurl

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to debug MVC source code in Visual Studio 2010 using the Microsoft
I'm trying to write a dll plugin for Winamp. I'm using Microsoft Visual Studio
I'm using Microsoft Visual Studio 2010. When I add files to my project, they
I am using Microsoft Visual Studio 2010 and the OpenCV 2.3.0 libraries to write
I have a website which was created using Microsoft Visual Studio 2010. I want
I am using Microsoft Visual Studio Professional 2010. (Also SQL Management Studio for my
Background-info: I'm using Microsoft Visual Web Developer 2010 Express. Info about my (lack of)
I have a C++/CLI app that is built under Visual Studio 2010 but using
What have I done? I'm using Microsoft Visual Studio 2010 1) I downloaded libevent-2.0.16-stable
I'm using Microsoft Visual Studio 2010. The formula is y = 1/(1+exp(-e)) Over the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.