G
Guest
This is a two parte
1. What to the performance differnace between a Class and a struct. I have a handler class which has a list containing a lot of instances of a class which purely holds data, All the operations are caried out within the handler, would I be better to use a strut instead
2. I want to extact the data from the data holder class / struct, using the hander class archive the data away into a byte steam to either place in a binaryvar in a database, or to send to another application which understands the packing of the data, How do i place all the data in the byte stream (C++ memcpy)
Thanks in advance.
1. What to the performance differnace between a Class and a struct. I have a handler class which has a list containing a lot of instances of a class which purely holds data, All the operations are caried out within the handler, would I be better to use a strut instead
2. I want to extact the data from the data holder class / struct, using the hander class archive the data away into a byte steam to either place in a binaryvar in a database, or to send to another application which understands the packing of the data, How do i place all the data in the byte stream (C++ memcpy)
Thanks in advance.