tanx dear Mats, but when i did
it didnt work. it just even corrupts the output! i used to get before changing this !Code:char oo[13];
char * o;
o = (char*) malloc (13);
if (o==NULL) exit (1);
o = itoa(temp,oo,8); //itoa(number,a buffer to hold the string,the base you want the number to be saved in buffer)
offsetptr = o;//itoa(temp,ptr,8); //itoa(number,a buffer to hold the string,the base you want the number to be saved in buffer)
free (o);
yeah , that why i asked for your help! :(