Validator/generator for Turkish Republic Citizen ID numbers (TC Kimlik No) -- (C++ port)