cpp little problems