📄 test_newcall.c
字号:
#include <stdio.h>#include <time.h>#include "../newcall.h"int main(){ char name[17]; char tel[31]; time_t t; long dur; int type; while(1){ printf("type: "); scanf("%d", &type); if(type == -1) break; printf("name: "); scanf("%s", name); printf("tel: "); scanf("%s", tel); printf("dur: "); scanf("%ld", &dur); t = time(NULL); newcall(name, tel, t, dur, type); printf("is black : %s \n", is_blackname(tel) ? "Yes" : "No"); } return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -