Thanks for everybody
Salems's post helped me to resolve the peoblem.
But I want to clarify one thing, do you means that all pointer that I pass to sscanf must point to 32 bit number.
As I am developing this application in VC++, I looked as MSDN and example is as follow
this does not require content of pointer to be 32 bit. If that is the case, don't you think is limitation of sscanf?
void main( void )
char tokenstring = "15 12 14...";
/* Input various data from tokenstring: */
sscanf( tokenstring, "%s", s );
sscanf( tokenstring, "%c", &c );
sscanf( tokenstring, "%d", &i );
sscanf( tokenstring, "%f", &fp );
/* Output the data read */
printf( "String = %s\n", s );
printf( "Character = %c\n", c );
printf( "Integer: = %d\n", i );
printf( "Real: = %f\n", fp );
please let me know