Journal "Software Engineering"
a journal on theoretical and applied science and technology
ISSN 2220-3397

Issue N12 2016 year

DOI: 10.17587/prin.7.539-546
New Way to Construct Console Application Interfaces: Technology TextControlPages
P. A. Chentsov, chentsov.p@mail.ru, Institute of Mathematics and Mechanics Ural Branch of RAS, Yekaterinburg, 620219, Russian Federation
Corresponding author: Chentsov Pavel A., Senior Researcher, Institute of Mathematics and Mechanics Ural Branch of RAS, 620219, Yekaterinburg, Russian Federation, E-mail: chentsov.p@mail.ru
Received on August 23, 2016
Accepted on September 22, 2016

Console applications has a significant place in the world of information technology. This applications work in text mode. The main ways of its interaction with user are text commands or configuration files. This ways are not so convenient in comparison with the modern graphic interfaces. This paper presents a concept of console interfaces creation with high level of interactivity and usability. It based on the very common constructions - menu and dialogs. But this concept uses only few standard input and output functions. It provides high code portability. Moreover, was created C++ library, based on the stdio and conio standard libraries. Speaking strictly, it uses only three functions: printf, getc and gets. Every C++ compiler provides these functions. TextControlPages library allows to change text encoding in a program run, and works with large text constructions exceeding the dimensions of a console.

Keywords: interface, menu, modal dialog, code portability, console application
pp. 539–546
For citation:
Chentsov P. A. New Way to Construct Console Application Interfaces: Technology TextControlPages, Programmnaya Ingeneria, 2016, vol. 7, no. 12, pp. 539—546.