摘要: 1 #include "stdio.h" 2 struct China_city 3 { 4 char city1[100]; 5 char city2[100]; 6 struct Suzhou_town 7 { 8 char town1[100]; 9 char town2[100]; 10 } 阅读全文
posted @ 2021-04-25 10:48 昆山皮皮虾 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 若在读时钟周期内,每x周期内可以有y个数据读出FIFO,则FIFO深度计算公式如下: 阅读全文
posted @ 2021-04-24 23:08 昆山皮皮虾 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 1 /* Copyright (c) Microsoft Corporation. All rights reserved. 2 * The C Standard Library <stdbool.h> header.*/ 3 #ifndef _STDBOOL 4 #define _STDBOOL 阅读全文
posted @ 2021-04-14 14:02 昆山皮皮虾 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 1.插件 目前我用的插件如下: 2.launch.json { "version": "0.2.0", "configurations": [ { "name": "gcc.exe - launch", "type": "cppdbg", "request": "launch", "program" 阅读全文
posted @ 2021-04-02 17:36 昆山皮皮虾 阅读(328) 评论(0) 推荐(0) 编辑
摘要: code #include <stdio.h> int main(void) { int a[2][3][4]={ 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95,105, 110,115,120,1 阅读全文
posted @ 2021-04-02 03:00 昆山皮皮虾 阅读(192) 评论(0) 推荐(0) 编辑
摘要: code 1 #include <stdio.h> 2 int main(void) 3 { 4 int a[3][4]={ 5, 10, 15, 20, 5 25, 30, 35, 40, 6 45, 50, 55, 60}; 7 8 printf(" a=%08x\n", a); 9 print 阅读全文
posted @ 2021-04-02 02:15 昆山皮皮虾 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 1.code 2.运行结果 证明可以进行这些数组操作:&a+1 *a+1 *(a+1),但是这种操作却提示错误:&(a+1),错误提示信息如下: 另外一点需要注意的是: *a+1 实质为 a[0]+1 *(a+1) 实质为 a[1] 这种区别在《C和指针》的143页也有提到。 阅读全文
posted @ 2021-04-01 21:57 昆山皮皮虾 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 网址:http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html#ss1.1 阅读全文
posted @ 2021-03-28 18:39 昆山皮皮虾 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-03-28 16:34 昆山皮皮虾 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 10进制,分析如下 16进制,分析如下 阅读全文
posted @ 2021-03-26 01:47 昆山皮皮虾 阅读(58) 评论(0) 推荐(0) 编辑