
- Forum
- Programming Talk
- C and C++
- Syntax
Syntax
This is a discussion on Syntax within the C and C++ forums, part of the Programming Talk category; hi, is any one can help me...? I'm very new in c++ and now I want to write a syntax ...
-
Syntax
hi, is any one can help me...?
I'm very new in c++ and now I want to write a syntax for input number 111 which will give out put in chart (hundredth eleven). please write for me a simple syntax so I can understand it. THX
-
hi...you may want to have a look into one of the functions in string.h
itoa(int value, char * str, int radix);
value is the number which you want to convert & str is your word string. Here radix is for base of number which will normally be uses as 10.
However, itoa is not a valid ISO C/C++ function but that's not stopping you to use it. You may want to check if your target compiler supports it.

Reply With Quote





