windows - How to underline text using printf in C -


i note question colorful text using printf in c gives example of setting coloured text on standard console output in windows. there similar allows output underlined? or possibly bolded or italicised?

edit: tried lundin's answer on using common_lvb_underscore no luck. attempting use addfontresource() add arial italic font try italics gives error there undefined reference __imp_addfontresourcea

it not possible using standard c functions, c language doesn't recognize presence of screen.

with windows api console functions can change colors, underline , other things. particular function looking called setconsoletextattribute in post linked. change attributes include common_lvb_underscore.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -