buddhikaneel
Member level 1
Hi.
I have long integer number. Ex:- 1234567890;
i want to get numbers withing for loop like this
for (i=0;i<10;i++){
xArray=??????
}
result could be
xarray[0]=1
xarray[1]=2
xarray[2]=3
xarray[3]=4
xarray[4]=5
xarray[5]=6
xarray[6]=7
xarray[7]=8
xarray[8]=9
xarray[9]=0
If i get like this i can use it for my work. Can i have idea to do this. In Visual Basic i can do this using <b>substring Function.</b> But with mikroc i don't know what is the command.
Thanks
I have long integer number. Ex:- 1234567890;
i want to get numbers withing for loop like this
for (i=0;i<10;i++){
xArray=??????
}
result could be
xarray[0]=1
xarray[1]=2
xarray[2]=3
xarray[3]=4
xarray[4]=5
xarray[5]=6
xarray[6]=7
xarray[7]=8
xarray[8]=9
xarray[9]=0
If i get like this i can use it for my work. Can i have idea to do this. In Visual Basic i can do this using <b>substring Function.</b> But with mikroc i don't know what is the command.
Thanks