MATHEMATICS, COMPUTER SCIENCE AND EDUCATION
“ST. CYRIL AND ST. METHODIUS” UNIVERSITY OF VELIKO TARNOVO - UNIVERSITY PRESS

Teaching C++ as a First Programming Language


Authors:
Ivaylo Donchev St. Cyril and St. Methodius University of Veliko Tarnovo, Bulgaria

Pages: 61-67
DOI: https://doi.org/10.54664/LPYA6043

Abstract:

Nowadays, most C++ introductory courses begin by studying the procedural constructs of C language, following the imperative-first strategy described in CC2001 [7]. While this has been a successful approach in the near past, our experience shows that it does not lead to the development of skills to create a good C++ code. That’s why in recent years we’ve been teaching C++ to beginners in a totally different way – with avoidance of C-style strings and raw arrays; delayed introduction to pointers (just after references); polymorphism with references instead of pointers; smart pointers instead of raw pointers; early use of standard library features, and writing modern C++ from day one.

Keywords:

teaching, programming languages, C++, polymorphism, smart pointers

Download


884 downloads since 12.12.2019 г.
NA / Bulgaria / China / France / Germany / India / Malaysia / Poland / Portugal / Russian Federation / Sweden / Ukraine / United Kingdom / United States
  • © ST. CYRIL AND ST. METHODIUS UNIVERSITY OF VELIKO TARNOVO 2016 - 2024