|
|
I just give you a simple example here:
|
|
I hope it can help you!
Good luck!you can use the new instruction only to allocate object of a class type,
you defined byte as a unsigned char, this is a primitive type, it's not a class so it doesn't work.
you may use the C calloc(...) function but it's not very simple at first sight
|
|
|
|
No comments:
Post a Comment