Lottery issue - an error with an IF sentence + indicators +REP
#4

Quote:
Originally Posted by PrO.GameR
Посмотреть сообщение
sscanf ( params, "ud", iLottoNumber, iAmountL, iTickets, iPrize )
You are taking 2 variables, shoving them into 4 ? 65565 is INVALID_PLAYER_ID I think, it's because you are using 'u' as the param type
sscanf ( params, "dddd", iLottoNumber, iAmountL, iTickets, iPrize ) << right way
Thanks, do you happen to know how can I add ',' between each 3 digits?
e.g: instead of 1000000 -> 1,000,000?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)