A proxy doesn't "bypass network restrictions". All it does is display another website inside of itself (or more specifically, allow a passthrough connection to another website).
And yes, it is quite possible to write a proxy in C++.
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
It would involve a fair bit of network programming. It can be easier or harder, depending on whether you use libraries to help ease the task of grabbing the webpages, and which one you use.
Also, C++ isn't really the best language for writing CGI scripts in my opinion, which only makes it harder, since now to write a proxy, you will need to write a parser which goes through all the external links/files, and a) downloads the external data, b) changes the HTML source so that these links point to the data in the proxy's memory.
So no, the task of grabbing HTML source from another web page and displaying it in your page isn't hard in the least (a crude PHP one could consist of no more than 1 or 2 lines), but it's the other stuff that'll trip you up. If you have no experience with writing parsers or doing network programming, then you shouldn't even attempt it.
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339