12 2022 档案
GPS数据处理
摘要:GPS数据处理 题目内容: NMEA-0183协议是为了在不同的GPS(全球定位系统)导航设备中建立统一的BTCM(海事无线电技术委员会)标准,由美国国家海洋电子协会(NMEA-The National Marine Electronics Associa-tion)制定的一套通讯协议。GPS接收机
阅读全文
记录搜索的例子 浙大c
摘要:#include <stdio.h> struct{ int amount; char *name; } coins[] = { {1, "penny"}, {5, "nickel"}, {10, "dime"}, {25, "quarter"}, {50, "harf-doller"} }; in
阅读全文
打印素数 两种不同方法
摘要:1.用数组列出素数表 是素数该下标对应的值为1 将每个素数的倍数对应的下标值赋为0 这样就完成了素数表 #include <stdio.h> int main(){ const int maxNumber = 255; int isPrime[maxNumber]; int i; int x; fo
阅读全文
井字棋判断输赢C
摘要:#include <stdio.h> int main(){ char a[3][3]; for (int i = 0; i < 3; ++i) { for (int j = 0; j < 3; ++j) { scanf("%c",&a[i][j]); getchar(); } // scanf("
阅读全文
浙公网安备 33010602011771号