User Tools

Site Tools


c:conio.h:cputs
click
to support this page (eg 0,42 € or so) Thanks.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c:conio.h:cputs [2013/02/03 21:04]
127.0.0.1 external edit
c:conio.h:cputs [2013/02/03 21:07] (current)
158.181.88.241
Line 1: Line 1:
 ====== cputs ====== ====== cputs ======
 <code c> <code c>
 +int cputs(const char *str);
 </code> </code>
  
 ==== description of cputs ==== ==== description of cputs ====
-cputs is in work by code-reference.com \\  +Returns a string to the screen.\\ 
-if you are faster... don't hasitate and add it+\\ 
 +cputs is the null-terminated string from str in the current text window. The newline character is not here appended to the string.\\ 
 +\\ 
 +Depending _directvideo of the global variable, the string is written either directly or through a BIOS call to screen memory.\\ To contrast to fprintf and printf, not translated cputs line character (\ n) in the combination of characters carriage return / line feed (\ r \ n).\\
  
 +     Note: Do not use this function in any case in Win32 GUI applications.
 <code c> <code c>
-no example at the moment+#include <conio.h> 
 +int main(void) 
 +
 + 
 +    clrscr(); 
 +    window(10, 10, 80, 25); 
 +    cputs("Text in Window\r\n"); 
 +    getch(); 
 +    return 0; 
 +}
 </code> </code>
  
 ===== output of cputs c example ===== ===== output of cputs c example =====
-    no example at the moment +    Text in Window
advertising
c/conio.h/cputs.txt · Last modified: 2013/02/03 21:07 by 158.181.88.241

Impressum