[an error occurred while processing this directive]
|
#include "alloc.h"
typedef unsigned char byte;
typedef unsigned int word;typedef struct {
byte x[1000];
} DinamicMemoryType;int main(void)
{
DinamicMemoryType *dm;
dm=(DinamicMemoryType *)malloc(1000);
for(word it=0;it<1000;it++){
dm->x[it]=it;
}
//...
return 0;
}
Составить ответ ||| Конференция ||| Архив
Ответы