2KDuke

i dont know, how you comiled your code smile
Code:
int* pos = 0;
pos += 1; // or pos ++; or pos = pos + 1;

crash to me... only variant is to use
Code:
pos = 2;

but
Code:
pos = num; // or &pos = num; or even pos = #(i'm going crazy :))) 

dont work

you want to say that i may use
Code:
int* firstpos = 0;
int* secondpos = 1;
int* thirdpos = 2;

***
pos = firstpos; // this works

? laugh


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro