+ 1

What does static_cast<char> means ?

...

18th Sep 2018, 11:25 AM
Albert Whittaker :Shaken To Code
Albert Whittaker :Shaken To Code - avatar
4 odpowiedzi
+ 5
static_cast converts variable to another type. Here you have an example: https://code.sololearn.com/cv3kEs71wwhb/?ref=app
18th Sep 2018, 11:58 AM
Aleksander Szczepura
Aleksander Szczepura - avatar
+ 4
'x' is equal '85' '85' is ASCII code of 'U'
18th Sep 2018, 12:07 PM
Aleksander Szczepura
Aleksander Szczepura - avatar
+ 1
Olek Szczepura why its output iz 'U'?
18th Sep 2018, 12:04 PM
Albert Whittaker :Shaken To Code
Albert Whittaker :Shaken To Code - avatar
+ 1
I know what ASCII does mean thanks ,Olek Szczepura 0
18th Sep 2018, 12:08 PM
Albert Whittaker :Shaken To Code
Albert Whittaker :Shaken To Code - avatar