C function to display the number of parameters
bckflow
Posted messages
496
Status
Membre
-
TeoJyx -
TeoJyx -
Hello everyone!
A function that displays a number passed as a parameter. The function should be able to display all possible values in a variable of type int.
For example:
- my_put_nbr(42) displays "42"
- my_put_nbr(0) displays "0"
- my_put_nbr(-42) displays "-42 "
All your suggestions are welcome ;)
--
"Life is like a box of chocolates, you never know what you're gonna get.
Culture is like jam, the less you have the more you spread it."
A function that displays a number passed as a parameter. The function should be able to display all possible values in a variable of type int.
For example:
- my_put_nbr(42) displays "42"
- my_put_nbr(0) displays "0"
- my_put_nbr(-42) displays "-42 "
All your suggestions are welcome ;)
--
"Life is like a box of chocolates, you never know what you're gonna get.
Culture is like jam, the less you have the more you spread it."
Configuration: Windows XP Firefox 3.5.3
printf("%d\n",var);
}</code>Attention is watching us ;-)
Good evening.