随笔分类 - C
摘要:#include <stdio.h> int main() { int *p = NULL; int i = 1; switch(1) { case 1: { p = &i; printf("Inside switch - Address of i: %p, Value of p: %p\n", (
阅读全文
摘要:References: Format Specifiers in C
阅读全文
摘要:References: What are weak functions and what are their uses? I am using a stm32f429 micro controller
阅读全文
摘要:References: what do you mean by registering a callback function in c
阅读全文
摘要:References: Implementing a Finite State Machine in C++ Finite State Machines (FSM) in Embedded Systems (Part 1) - There's a State in This Machine! Sta
阅读全文
摘要:References: volatile (computer programming) When and How to use the Volatile Keyword (Embedded C Programming)
阅读全文
摘要:References: Inline function What does it mean to inline a function and how does it affect a program?
阅读全文
摘要:References: const*和*const The data types of const char * and char * const in C language In C, const char * and char * const are two different pointer
阅读全文
摘要:References: [what do you mean by registering a callback function in C?] (https://stackoverflow.com/questions/8590335/what-do-you-mean-by-registering-a
阅读全文
摘要:#include <stdio.h> // 函数原型声明 float calc(float a, float y, const char op); float add(float a, float b); float minus(float a, float b); float multiple(f
阅读全文
摘要:References: Function pointers and callbacks
阅读全文
摘要:// Online C compiler to run C program online #include <stdio.h> int main() { char arr[2] = {1, 2}; char *parr0 = NULL; char *parr1 = NULL; char **ppar
阅读全文
摘要:References: why do header files even exist?
阅读全文
摘要:References: What does int argc, char* argv[] mean?
阅读全文
摘要:References: Declaration vs. Definition of a variable in C C++ - Declaration Vs Definition
阅读全文
摘要:Reference: 为何不能在头文件里写定义? // a.c文件 #include "c.h" // #include "c.h" int main(void) { return 0; } // b.c文件 #include "c.h" // #include "c.h" // c.h文件 /*
阅读全文
摘要:References: 关于gcc、make和CMake的区别
阅读全文
摘要:placeholder
阅读全文
摘要:placeholder
阅读全文

浙公网安备 33010602011771号