• DocumentCode
    548833
  • Title

    A programming tool to ease modular programming with C++

  • Author

    Perez-Schofield, J. Baltasar García ; Ortín, Francisco

  • Author_Institution
    Dept. of Comput. Sci., Univ. of Vigo, Vigo, Spain
  • fYear
    2011
  • fDate
    15-18 June 2011
  • Firstpage
    1
  • Lastpage
    6
  • Abstract
    Module management support is very rough in the C and C++ programming languages. Modules must be separated in interface and implementation files, which will store declarations and definitions, respectively. Ultimately, only text substitution tools are available, by means of the C/C++ preprocessor, which is able to insert an interface file in a given point of a translation unit. This way of managing modules does not take into account aspects like duplicated inclusions, or proper separation of declarations and definitions, just to name a few. While the seasoned programmer will find this characteristic of the language annoying and error-prone, students will find it not less than challenging. In this document, a tool specially designed for improving the support of modules in C++ is presented. Its main advantage is that it makes it easier to manage large, module-based projects, while still allowing to use classic translation units. This tool is designed for students who have to learn modular programming; not only those in the computer science discipline, but also those in other engineerings in which programming is part of the curriculum.
  • Keywords
    C++ language; program interpreters; software tools; C++ programming language; modular programming; module management support; module-based projects; programming tool; Computer languages; ISO standards; Object oriented programming; Programming profession; Syntactics; C++.; Learning; compiler; module management; preprocessor;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Systems and Technologies (CISTI), 2011 6th Iberian Conference on
  • Conference_Location
    Chaves
  • Print_ISBN
    978-1-4577-1487-0
  • Type

    conf

  • Filename
    5974276