A Tutorial for C/C++ Programming on Linux.pdf
This tutorial aims to help students and teachers enriching the learning experience in a undergraduate course. Though this tutorial explains C/C++ on Linux, I would encourage students to explore usage other compilers such a Microsoft Visual C/C++ and Intel C/C++.
There are several disadvantages of Turbo C. They lead to programming practices which are not exactly beneficial when a student completes his/her graduation and aspires to be a software professional.
- Most Turbo C installations uses a version which is very old and/or incomplete. It lacks essential features like namespaces and templates in C++. Hence students practice their skills on a platform which is limited.
- Usage Turbo C promotes DOS programming paradigm which is obsolete on all practical counts. Student keep thinking that directly writing to VGA memory is a big thing while it is a complete waste of efforts.
- Most Turbo C installations lack a complete C library. Hence students are completely unaware of some very important features such as threading or localization. Turbo C has a minimal C library installed with it, which is just enough for basic programming.
- TC being an IDE, students never grasp the concept of project management. Furthermore the assignments in the course do not promote good project management practices. Many students end up doing all their assignments in a single file and consequently never learn to reuse the code. Some of the essential practices students miss are,
- Use of Makefiles
- Usage of Version Control systems
- Practice of modularizing the code in different files/libraries etc.
- Students are never exposed to diversity. They think TC is C/C++. What they do not understand is TC is but one implementation of C/C++. There are several others, each with it’s own strengths, weaknesses and gotchas. They learn to think in terms of tools rather than language, theory and problem at hand. The lack of exposure to diverse tools keeps them from maturing rapidly.
This tutorials is provided in pdf format, 18 pages, 0.3 MB, and you can get the Tutorial for C/C++ Programming on Linux.pdf for free.
Comments
One Response to “A Tutorial for C/C++ Programming on Linux.pdf”
Leave a Reply


nice site