C pp class