Yes, that's fine.
You should consider using std::vector rather than using dynamic arrays directly. It will make your code cleaner.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 21
Thread: Simple dynamic array questionThreaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |