How to make the last letter blink?

前端 未结 2 1422
无人共我
无人共我 2021-01-29 11:02

I\'d recently created this program that displays the last letter of a string. Using this code:

#include
#include
#include

        
2条回答
  •  别那么骄傲
    2021-01-29 11:25

    You can use textcolor(); 128 code is blink code in turboc++

    #include
    #include
    int main(){
          clrscr();
          textcolor(128+6); // or textcolor(134) [128:blinking and 6:brown color]
          cprintf("My name is Prashant");
          getch();      }
    

    for more help right click on turboC++ window and type textcolor();

提交回复
热议问题