I want to open any website using me c++ program. But don't know ho it will be done, please help me.

Some context please?
I would open a socket on port 80 to the host with winsock.
You could use something like selenium if you're OK with opening the browser.

What are the limitations of your objective?

Remember, winsock is Windows specific. Better to use standard C socket library stuff, which Windows also supports, as do Unix/Linux systems.

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.