The article discusses the current situation and the drawbacks of teaching programming courses,and analyzes the CDIO concept and idea,CDIO thought in the course of the program design can improve the shortcomings in courses now and promote students to master the programming courses.