Monday, November 22, 2010

How do you change text size, color etc. in the output in C++?

I would like to know how to give color to the text, change text size, font type etc. and insert pictures in the output screen in C++How do you change text size, color etc. in the output in C++?
If only it were that easy... Unfortunately each feature you have requested requires a graphics library/subsystem. Some C++ compilers come with an additional library for DOS graphics. If you are running Windows, you can download an example Windows program and start doing Windows GDI stuff, but it's not exactly the easiest thing if you're learning. Also, ';real'; graphics libraries like openGL and DirectX would allow you to do that stuff as well, but they aren't any easier.How do you change text size, color etc. in the output in C++?
you can some functions like textsize()

color() available in conio.h header file.
Your question is very important for which I think you should go online and check this out: http://hitechbooks.com/articles



Enjoy :)




No comments:

Post a Comment

Note: Only a member of this blog may post a comment.