Dynamic table

H

hipek

Hi all,

I programming in VS2005 C++ .NET 2.0. I dont' know how to create dynamic
table.

I think do something like that:

int size=0;
cin >> size;
char *table = new char[size];

but I don't know how to create (allocate) dynamicly cli/c++ table like:

array<unsigned char> ^data = gcnew array<unsigned char>(size);

I'd like to obtain size during runtime, is it possible do to something like
that with cli array?

Any help wolud be appreciate, thanks for your hints,

hipek.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top