In C# your life is easy - someone wrote you a class that handle all the streaming of data between you and the web server...
Of course the original C++ libraries have no such class, but fortunately there are some who think you may need one...
CkUpload C++ Reference Documentation[
^]
(Of course you can go and use the standard streaming libraries to write your own solution, but it may be a bit time consuming)