Delete something from array
#1

Hi,

I want delete something from array. Like:

Код:
new DeckTextdrw[10][] = {

"Hello0",
"Hello1",
"Hello2",
"Hello3",
"Hello4",
"Hello5",
"Hello6",
"Hello7",
"Hello8",
"Hello9",
 };
Now here is size 10 if i do sizeof(DeckTextdrw), but how now do i want to delete any of it for ex: Hello8. And i want that checking will be like array will be


Код:
new DeckTextdrw[9][] = {

"Hello0",
"Hello1",
"Hello2",
"Hello3",
"Hello4",
"Hello5",
"Hello6",
"Hello7",
"Hello9",
 };
Without Hello8.
Reply
#2

It would be only possible with dynamic memory: y_malloc or Memory access plugin.
Reply
#3

How do it with y_malloc ?
Reply
#4

I haven't used any of them so I'm not aware. You can find about y_malloc here: http://web.archive.org/web/201404201...ad.php?t=58827
Reply


Forum Jump:


Users browsing this thread: