C++ doesn't understand the notion of a font. To work with fonts you will need a graphics library. The library will provide the methods required to change font sizes.
ja
There is no generic code to change the typeface of the console output, nor indeed any output window. To change the typeface you must use platform-specific code. That is, the code required to change the output typeface in Windows is completely different to that of Unix-based systems.
example output of c++ calculator
Platform-dependent. For TurboC use functions of header conio.h (use built-in help).
int radius = 2; int output; radius = radius * 2; output = radius * Math.PI; Console.WriteLine(output);
I want my C++ program become interesting How can I change the color of background and color of font even size of font......... I will always use system("cls") to clear there screen..... so I want do C++ DOS into something we call presentation like powerpoint Haha........ Any tutorial? That all Thank you
There is no generic code to change the typeface of the console output, nor indeed any output window. To change the typeface you must use platform-specific code. That is, the code required to change the output typeface in Windows is completely different to that of Unix-based systems.
example output of c++ calculator
Yes. Here is the coding. <font c="color"></font>
Platform-dependent. For TurboC use functions of header conio.h (use built-in help).
void main() { printf("followiing"); }
int radius = 2; int output; radius = radius * 2; output = radius * Math.PI; Console.WriteLine(output);
I want my C++ program become interesting How can I change the color of background and color of font even size of font......... I will always use system("cls") to clear there screen..... so I want do C++ DOS into something we call presentation like powerpoint Haha........ Any tutorial? That all Thank you
It must use a function with a "return" statement. Or you could output via console. (.NET CODE(C#)) Console.WriteLine("Output.");
in layout
HIYou can first include the 1st program in ur 2nd program using # include and then whatever be the output from frst it can be used in second program.pankajThat's what popen is good for. Read the manual.
See sources and related links below.
This question cannot be generally answered, the output depends on the actual program.