| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Converting char to long
how to convert char to long
char to anything else |
|
#2
|
|||
|
|||
|
Something like this
Code:
char character='a'; long number=static_cast<long>(character); |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > Converting char to long |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|