A small help dialog in DOS mode graphics. It can b used in any application for help purpose or showing messages to the user. It uses the ASCII characters to build the windows shpe and then I have used the gotoxy() function to place the cusror at that location to print the desired text, and I have also used the fprintf() function to print the colored text.
[code language=cpp]/*******************************************************
* MYCPLUS Sample Code – http://www.mycplus.com *
* *
* This code is made available as a service to our *
* visitors and is provided strictly for the *
* purpose of illustration. *
* *
* Please direct all inquiries to saqib at mycplus.com *
*******************************************************/

//Muhammad Saqib
//Please change BGI directory accouding to your TC Directory

//Help file for getting help on shortcut keys

#include
#include
#include
void main(void){
textcolor(10);
clrscr();
window(3,4,66,20);{
gotoxy(3,4);
cout<<"????[?]??????????????????????????????????????????????3?[ ]??"<

0 Shares
Share
+1
Tweet
Share
Stumble