Title :
Useful Compiler Directives for Teaching Programming
Author :
Minor, John T. ; Gewali, Laxmi P.
Author_Institution :
Sch. of Comput. Sci., Univ. of Nevada, Las Vegas, NV, USA
Abstract :
Using pre-processor directives is an important step in writing programs in languages that include C++ and Java. We examine the use of pre-processor directives with the goal of making a beginning programming language pedagogically effective. We propose a set of compiler directives that can be used in teaching a programming language similar to C++ so that student´s programming productivity increases by discouraging them from using irrelevant/confusing constructs and error-prone syntax. The proposed directives are structured into three groups: (i) error-checks, (ii) debugging-aids, and (iii) file-merging directives.
Keywords :
C++ language; computer aided instruction; computer science education; program compilers; C++; Java; compiler directive; debugging-aids; error-checks; error-prone syntax; file-merging directive; preprocessor directives; programming language; student programming productivity; Computer languages; Debugging; Educational institutions; Program processors; Programming; debugging aids; pre-processor directives; teaching-programming;
Conference_Titel :
Information Technology: New Generations (ITNG), 2012 Ninth International Conference on
Conference_Location :
Las Vegas, NV
Print_ISBN :
978-1-4673-0798-7
DOI :
10.1109/ITNG.2012.128