#include <acknex.h> void main() { int * int_ptr_to_mem = sys_malloc(sizeof(int)); *int_ptr_to_mem = 1234; // >> *variable = value; << int output = *int_ptr_to_mem; // printf doesn't work with pointers as value printf("int_ptr_to_mem = %.0f", (double)output); }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de