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/cgets.c

11 lines
140 B
C

#include <conio.h>
void main()
{
char buffer[82];
buffer[0] = 80;
cgets( buffer );
cprintf( "%s\r\n", &buffer[2] );
}