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


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