cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: c++ equivalent of getinmemory.c

From: Emil Romanus <sdac.bithack_at_gmail.com>
Date: Mon, 13 Aug 2007 11:23:15 +0200

2007/8/13, Marcos Pinto <markybob_at_gmail.com>:
>
> i'm sorry, i thought examples and tutorials were to help you learn
> from.

There are examples in C. If you read them, you will learn from them. If you
port them to C++, you will learn from them.

 if not, why do you have them in the first place?

For people to learn from... I find Daniel's suggestion to translate the
sources yourself a *very* good idea. So instead of questioning things like
"Why do one of the largest networking libraries provide example source
code?", try to understand the code and learn from it.

Once you understand it, you can write your own program in C++ using new and
delete operators.
Received on 2007-08-13