Re: another problem

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Tom,
    If you take a look at printf() in the reference manual, you could
see the different formats that you can give a variable printed with it.
You're giving printf() a parameter %s that indicates that the variable
must be printed as if it were a character, try giving %d parameter to
print it as a decimal number.

Best Regards,
    Guillermo BonvehĂ­
    AKA: KNiXEUR

>       ----- Original Message ----- 
>       From: Tom Harris 
>       To: EUforum 
>       Sent: Saturday, November 24, 2001 7:01 AM
>       Subject: another problem
>       Now I want to add a score.  Currently the score (a) should go
> up by one every time you answer a question correctly but when I look
> at the file score .txt it ------=_NextPart_000_002C_01C17515.710376E0
> Content-Type: application/octet-stream; name="tomsquiz.ex"

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu