sprintf...weird !
Posted: Sat Mar 21, 2009 8:46 am
HI at ALL,
int s;
if(cloneindex == 1){
//textNumber = yscreen;<<--PRINT
//s = yscreen;
sprintf(text,"xscreen %d", s);<<--NO PRINT...but...
}
.. s = yscreen;
sprintf(text,"xscreen %d", s);<<--PRINT.
do not understand why.
Tnk1000.
int s;
if(cloneindex == 1){
//textNumber = yscreen;<<--PRINT
//s = yscreen;
sprintf(text,"xscreen %d", s);<<--NO PRINT...but...
}
.. s = yscreen;
sprintf(text,"xscreen %d", s);<<--PRINT.
do not understand why.
Tnk1000.