Hey guys , I have been asked by my boss to write some c++ code to read from a web page, this is alien to me as I have an electronics background and know nothing about networking.

I managed to find a c++ library called urlmon which has a method called downloadtofile() however that wasn't good enough for him as he actually wants to read from a page without downloading it. I am aware that socket programming is a particularly complex area and have searched the web without luck to try and find an easy way to do this. I have downloaded libraries like libcurl but cannot seem to get them to compile. Can anyone teach me an easy way to do this? (for windows please not linux)

thanks

Will

use libcurl. I have not used itmyself so I can't help you with that, but there are a lot of other members who can.

Also get boost libraries -- specifically this one

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.