There is written code that searches for files in a particular folder by a mask and, if it finds them, displays a list of these files. Output standard in the console. I would like to make the work of the program more convenient: 1. Create a graphic window with one button, which, if pressed, would display this list of files in a special field in the same window. How to do it? 2. List the files in the * .txt file. How to implement it?
That is, all that is displayed in the console as a result of code execution - how can all this be moved to a graphic window or to a txt file?
команда_запуска_вашей_программы всякие параметры > file.txt- zRrr