ever read much on c++ ?

This seems to be a lack of understanding of the tools you are using to do
something complex.
Perhaps its easier to do one of the following :
1) Search the mailing list (if someone has done it, its on there)
2) Learn more about c++ and what it is that it wants.

Id like to spend to time giving this example but if you cannot see the gap,
you need to look for the missing pieces (which is the c++ stuff).



On Mon, Mar 28, 2011 at 5:26 PM, ingmar wirths <[email protected]>wrote:

> Hi,
>
> i'm getting a little frustrated trying to put the content of a packet
> into a string.
> What i simply want to do is something like:
>
> std::string my_string (packet->data, packet->dataLength);
>
> This doesn't compile however. I kind of get the idea why not, fiddled
> around a little,
> but could'nt get it working.
>
> I guess someone did this before, any ideas?
>
> Thanks,
> ingmar
> _______________________________________________
> ENet-discuss mailing list
> [email protected]
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss

Reply via email to