adding c++ to dialogs of edit/create course