S
Sadun Sevingen
hi is there malloc command for native arrays to enlarge size of the array
???
???
Sadun Sevingen said:hi is there malloc command for native arrays to enlarge size of the array
Sadun Sevingen said:int main(void)
{
int dizi[10];
...
// free(dizi); doesn't work...
Sadun Sevingen said:#include "stdafx.h"
#include "stdio.h"
#include "stdlib.h"
#using <mscorlib.dll>
using namespace System;
int main() {
....
}
Sadun said:#include "stdafx.h"
#using <mscorlib.dll>
using namespace System;
int main(void)
{
int dizi[10];
for(int i = 0; i < 10; i++)
dizi = i * 2;
size_t size = sizeof(dizi)/sizeof(dizi[0]);
for(size_t i = 0; i < size; i++)
Console::WriteLine(dizi);
// free(dizi); doesn't work...
// also i want to enlarge the array
...