Borland C++ reference

clreol

partly corrected

Clears to end of line in text window.

Defined in header <conio.h>

Syntax

#include <conio.h>
void clreol(void);

Portability

DOSUNIXWindowsANSI CC++ only
■

Remarks

clreol clears all characters from the cursor position to the end of the line within the current text window, without moving the cursor.

Return value

None.

See also

Example

#include <conio.h>

int main(void)
{
   clrscrO;
   cprintf("The function CLREOL clears all character's from the\r\n");
   cprintf("cursor position to the end of the line within the\r\n");
   cprintf("current text window, without moving the cursor. \r\n");
   cprintf("Press any key to continue  . . .");
   gotoxy(14, 4);
   getchO ;
clreol()
getch();
return 0

Differences from modern implementations

Nothing recorded yet.

Modern references

These are search links, not yet checked by hand.

Extraction notes

  • no Syntax section
  • no header found
  • heading `cireol` read as `clreol`