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++.
How would one go about doing such a task in C++?
EDIT: Rephrase: Would it be easy for one to complete this task? I don't want you to do it for me, that would be very stupid, seeing as I want to do this and present it as extra credit in my Computer Science class, and if you wrote it, it would be mine, now would it?
I know C++ a bit, like I can write some well developed applications, but I'm not an expert at it. What I'm truly asking is how good would someone have to be at C++ to make a proxy?
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.
Thank you for the information! You've helped a lot. I do have experience with writing parsers and doing network programming, so I think I'll give it a crack. Thanks again.
-- Hehe, I'd give you rep, but I've given you rep so recently that I can't (I need to "spread more rep around"). When I can, I'll add to your rep.
Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...
Hi. so this is actually a continuation from another question of mineHere but i was advised to start a new thread as the original question was already answered.
This is the result of previous question answered :
code for the listbox - datagridview interaction
At the top of the code ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...