04 2021 档案
摘要: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 }
阅读全文
摘要:若在读时钟周期内,每x周期内可以有y个数据读出FIFO,则FIFO深度计算公式如下:
阅读全文
摘要:1 /* Copyright (c) Microsoft Corporation. All rights reserved. 2 * The C Standard Library <stdbool.h> header.*/ 3 #ifndef _STDBOOL 4 #define _STDBOOL
阅读全文
摘要:1.插件 目前我用的插件如下: 2.launch.json { "version": "0.2.0", "configurations": [ { "name": "gcc.exe - launch", "type": "cppdbg", "request": "launch", "program"
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:1.code 2.运行结果 证明可以进行这些数组操作:&a+1 *a+1 *(a+1),但是这种操作却提示错误:&(a+1),错误提示信息如下: 另外一点需要注意的是: *a+1 实质为 a[0]+1 *(a+1) 实质为 a[1] 这种区别在《C和指针》的143页也有提到。
阅读全文