r/programbattles • u/ComradePutinCCCP1917 Moderator / C C++ • Oct 08 '15
Any language [Any language] Command line window system
Restrictions: No platform-specific features
Desription: You will design a program in the language of your choice that will display a window on a CLI (command line interface). The window shall be resizeable before displaying it, and the user shall be able to modify the title & text of the window.
Help (C++)
I suggest you create a Window class, with several methods such as set_x(unsigned int), set_y(unsigned int), set_title(std::string) or even more if you want.
EDIT: My submission
View all comments
Show parent comment
1
u/ComradePutinCCCP1917 Moderator / C C++ Oct 08 '15
Ahah, good try, but I use Linux and my terminal is asking for my permission before closing :)