How can we create banner from c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can we create banner from c++

C++ is OOP with this we can use void function and call it with several place. Is there any idea of creating banner.

15th Jun 2018, 8:16 AM
Dipen Luitel
Dipen Luitel - avatar
6 Answers
+ 1
In python programming one can create banner/title using banner() function in the output of command line script... creating banner/title is possible in c++?
15th Jun 2018, 9:43 AM
Dipen Luitel
Dipen Luitel - avatar
+ 1
can you help me giving sample code of banner function in c++.
15th Jun 2018, 9:46 AM
Dipen Luitel
Dipen Luitel - avatar
+ 1
void banner(){ cout <<"*****************" << endl; cout <<"Hello" << endl; coutn <<"*****************" << endl; }
15th Jun 2018, 9:52 AM
Max
Max - avatar
+ 1
thanks bro
15th Jun 2018, 9:52 AM
Dipen Luitel
Dipen Luitel - avatar
0
what do you mean by banner?
15th Jun 2018, 9:10 AM
Max
Max - avatar
0
of course you can write a function called banner and call it at the start of the program
15th Jun 2018, 9:44 AM
Max
Max - avatar