代码搜索结果
找到约 231,314 项符合
C 的代码
c
#include
#include
void main(void)
{
int letter;
printf("Type Y or N to continue and press Enter\n");
do {
letter = toupper(getchar());
} while ((
c
#include
void main(void)
{
struct text_info text;
gettextinfo(&text);
cprintf("Screen coordinates %d,%d to %d,%d\r\n",
text.wintop, text.winleft, text.winbottom, t
c
#include
#include
#include
void main(void)
{
int letter;
int done = 0;
int uppercase_found = 0;
do {
letter = getch();
if (islower(
c
#include
#include
#include
#include
void main(void)
{
char buffer[8000];
int handle;
if ((handle = creat("SAVESCR.DAT", S_IWRITE)) == -1)
c
#include
void main(void)
{
clrscr();
gotoxy(1, 5);
cprintf("Output at row 5 column 1\n");
gotoxy(20, 10);
cprintf("Output at row 10 column 20\n");
}
c
#include
void main(void)
{
int color;
for (color = 1; color < 16; color++)
{
textattr(color);
cprintf("This is color %d\r\n", color);
}
textattr(128 + 1
c
#include
void main(void)
{
int letter;
do {
letter = getchar();
putchar(letter);
} while (letter != '\n');
}
c
#include
void main(void)
{
union TextColor {
struct {
unsigned char foreground:4;
unsigned char background:3;
unsigned char blinking:1;
} color_bits
c
#include
void main(void)
{
clrscr();
highvideo();
cprintf("This text is high video\r\n");
lowvideo();
cprintf("This text is low video\r\n");
normvideo();
c
#include
void main(void)
{
int row, column;
clrscr();
cprintf("This is line 1\r\n");
cprintf("Line 2 is a little longer\r\n");
cprintf("This is the last line");