cputs

cputs,寫字元到螢幕。

函式名

cputs

功能

字元螢幕

用法

void cputs(const char *string);

程式例

#include
int main(void)
{
   /* clear the screen */
   clrscr();
   /* create a text window */
   window(10, 10, 80, 25);
   /* output some text in the window */
   cputs("This is within the window\r\n");
   /* wait for a key */
   getch();
   return 0;
}

 

相關詞條

相關搜尋

熱門詞條

聯絡我們