simple billing cpp