| quant (78) | |||
|
g'day, Could anybody help me with joinning data?
| |||
|
|
|||
| kbw (5375) | ||
What are you tying to do? What do you mean by
| ||
|
|
||
| isacbah (2) | |
|
why don't you just try append p = (&p).append(&m); | |
|
|
|
| quant (78) | |
|
isacbah, what's that append means? kbw, I tries joining data from few pointers. i.e. I need append data pointed by one pointer to another pointed area and again it with second pointed area so as to fill temporary pointed area. what so I did... http://codepad.org/4WcUkpA5 it comes from iptables project, libiptc usage, I can add rules like ACCEPT tcp -- 11.11.11.11 anywhere tcp spt:888 dpt:999 ACCEPT udp -- 22.22.22.22 anywhere length 0:200 but just can't ACCEPT udp -- anywhere anywhere length 200 udp spt:888 dpt:999 | |
|
|
|
| helios (10126) | ||
I can't understand what you're saying. Did you solve it yourself or not? | ||
|
Last edited on
|
||
| quant (78) | |
| no, itn't work in right way. | |
|
|
|
| isacbah (2) | |||
|
if i understood ur problem u want to concatunate two strings. append is a function in c++ that concatinate two strings and its sintax is like this
i thought that will help u thnx | |||
|
|
|||
| moorecm (1802) | |
| Are you trying to make some kind of composite object? I'm not sure where this discussion is leading, but you might want to see if this meets your needs: http://en.wikipedia.org/wiki/Composite_pattern | |
|
|
|