Text size! [ help ] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Text size! [ help ]

how can I change the size of the output text in C? i use windows and code blocks!

12th Feb 2020, 3:54 PM
Nicola
Nicola  - avatar
8 Answers
+ 1
you can use printf("%6d",a); where 6 is the width you can input any amount that suit you
12th Feb 2020, 3:58 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
I don't know if codeblocks use cmd as terminal or not, if it use cmd you can change the option by right click on the top of the cmd and click settings or preference (I forgot which)
13th Feb 2020, 1:42 PM
LastSecond959
LastSecond959 - avatar
+ 1
Nicola Esu You mean you want to change the font size from your code, not from the cmd? If you want to change it from cmd, right click the top of the cmd (the bar with min, max, close) and click properties and then click font.
13th Feb 2020, 2:47 PM
LastSecond959
LastSecond959 - avatar
+ 1
LastSecond959 i would like to introduce a function that makes the text bigger when the program is running, without going into the cmd properties
13th Feb 2020, 4:39 PM
Nicola
Nicola  - avatar
+ 1
Nicola Esu I don't know, sorry. But I did take a look in internet and found this, you might want to take a look, https://youtu.be/vttGnGKUyqA
13th Feb 2020, 4:46 PM
LastSecond959
LastSecond959 - avatar
+ 1
LastSecond959 already seen but i havo to use wprintf because I use unicode
13th Feb 2020, 4:52 PM
Nicola
Nicola  - avatar
0
yes use cmd! but if i want put the text size on code , how to do ?
13th Feb 2020, 2:43 PM
Nicola
Nicola  - avatar
0
✳AsterisK✳ your method don’t work
13th Feb 2020, 4:57 PM
Nicola
Nicola  - avatar