zzy-c

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 3 4 5 6 7 8 9 下一页

2022年3月29日

摘要: #pragma comment(lib,"sub.lib") 阅读全文
posted @ 2022-03-29 11:51 zzy_C 阅读(49) 评论(0) 推荐(0)

2022年3月28日

摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> int main() { //printf函数返回的是打印在屏幕上字符的个数 printf("%d", printf("%d", printf("%d", 4 阅读全文
posted @ 2022-03-28 21:53 zzy_C 阅读(132) 评论(0) 推荐(0)

摘要: //#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<math.h> int binary_search(int a[], int k, int s) { int left = 0; int right = s - 1; whi 阅读全文
posted @ 2022-03-28 17:56 zzy_C 阅读(40) 评论(0) 推荐(0)

摘要: //#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<math.h> int is_leap_year(int n) { if ((n % 4 == 0 && n % 100 !=0) || (n % 400 == 0)) re 阅读全文
posted @ 2022-03-28 17:40 zzy_C 阅读(39) 评论(0) 推荐(0)

摘要: //#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<math.h> int is_prime(int n) { //2->n-1之间的数字 int j = 0; for (j = 2; j < n; j++) { if (n 阅读全文
posted @ 2022-03-28 16:55 zzy_C 阅读(82) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include <string.h> void Swap(int* x,int* y) { int z; z = *x; *x = *y; *y = z; } int main() { int 阅读全文
posted @ 2022-03-28 14:54 zzy_C 阅读(89) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include <string.h> int get_max(int x, int y) { int z = 0; if (x > y) z = x; else z = y; return z; 阅读全文
posted @ 2022-03-28 14:52 zzy_C 阅读(325) 评论(0) 推荐(0)

摘要: 问题描述:新机台JC5600发送的周期不对,发送1.2us的周期,采用示波器测量是1.5us。 验证结果:采用旧机台的TIM文件测试值正常 阅读全文
posted @ 2022-03-28 14:18 zzy_C 阅读(87) 评论(0) 推荐(0)

摘要: I/O函数 头文件#include<stdio.h> 字符串操作函数 头文件#include <string.h> 字符操作函数 头文件#include <ctype.h> 内存操作函数 头文件#include <string.h> 时间/日期函数 头文件#include <time.h> 数学函数 阅读全文
posted @ 2022-03-28 12:50 zzy_C 阅读(52) 评论(0) 推荐(0)

2022年3月26日

摘要: 1.方案里的“0” “1”表示数据0和数据1。 2.例如数据格式,数据0的周期是1.2us 3.设速率为300,向量格式发(一个1,三个0)表示数据0。 阅读全文
posted @ 2022-03-26 18:06 zzy_C 阅读(63) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 9 下一页