How can I change the size of the console in C when starting a program?
772
I am looking for a way that will default the size of the console when starting the program. The idea is that when you open the application, it opens a new console with the size chosen by me. With the following image I think it will be perfectly understood.
To define the size of our console we will declare the following lines:
Modifying the values of the windowSize array we will obtain the desired proportions. The third value '30' is the width and '15' the height.
The result:
Thank you Duston for your comment!