int( 'A' ) is C-style cast. C++-style cast uses static_cast< int >