?? beeps.c
字號(hào):
#include <stdio.h>
#include <stdlib.h>
void main(int argc, char *argv[])
{
int count; // The number of times to sound the speaker
int i; // The number of times the speaker has been sounded
// Determine the number of times to ring the bell
count = atoi(argv[1]);
for (i = 0; i < count; i++)
putchar(7); // ASCII 7 sounds the speaker
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -