Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to make c++ console text larger?

I'm making a random number generator, the program will create several random numbers and then choose from those random numbers and then displays that number in the window.

I was wondering if there was a way to make that specific piece of text bigger? I don't want to change the size of all of the text in the window as I have writing in the window that i don't want to change the size of

Thanks for any help you can give

like image 625
Jono_2007 Avatar asked Jan 25 '26 07:01

Jono_2007


1 Answers

No, but you can make it bold, change the font color, or the background color for the specific text. If all you want is to make that specific piece of text stand out, I'd go with colorizing it.

As for how to do that... It's platform dependent. What platform are you on? Windows? Linux? What shell?

Take a look at the Windows Console API. That should have what you need.

like image 182
Tim Avatar answered Jan 26 '26 21:01

Tim



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!