This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/cputs.c

13 lines
166 B
C
Raw Permalink Normal View History

#include <conio.h>
void main()
{
char buffer[82];
buffer[0] = 80;
cgets( buffer );
cputs( &buffer[2] );
putch( '\r' );
putch( '\n' );
}