Learning a programming language begins with console programs. Can console programs be used in real life? What is the possibility of console programs, for example, in C ++? What is a console program that is used by many?

Closed due to the fact that it is necessary to reformulate the question so that it was possible to give an objectively correct answer by the participants Vlad from Moscow , Harry , aleksandr barakin , Alex , αλεχολυτ 18 Dec '16 at 6:11

The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • Console programs are used to learn the language and implement algorithms on them, since this is the simplest development environment that does not require the installation of other packages. - Vlad from Moscow
  • Well, the console programs themselves are used by someone or just for learning a language? - Max
  • They can be used where interactive interaction with an unprepared user is not required. For example, various utilities can serve as console programs. - Vlad from Moscow
  • 2
    C ++ compiler. - avp
  • one
    Far know? :) Frankly, for me, for example, if there is an opportunity to do the same thing in the console and in the graph, I would prefer the console. Even I mostly write programs in the FTE editor, and I compile on the command line ... - Harry

2 answers 2

  1. Console applications are used on servers. There may not even be running a graphical interface.
  2. Console applications, as opposed to graphical applications, can be used over an ssh connection.
  3. They can be used as automation steps - you just need to write a command in a batch file and you do not need to fill in a pack of fields with your hands.
  4. REPL environments of programming languages ​​may well be console.
  5. Almost all console compilers, so that the same compiler can be used in conjunction with different IDEs.

And a whole bunch of things that did not immediately remember.

    Yes, they can, but now more common are programs using the GUI. The possibilities in comparison with the program with the interface are almost the same, but they are less convenient to use. Console applications are mainly used to perform secondary or background tasks.