摘要:
c和c++中使用assert()函数来实现断言。 eg: #include <stdio.h> #include <assert.h> int main() { int x = 7; x = 9; assert(x==7); /* Rest of the code */ return 0; } 执行 阅读全文
摘要:
编译gpiod文件时,遇到如下困难: checking for linux/gpio.h... noconfigure: error: linux/gpio.h header not found (needed to build the library) 有没有曾经遇到,解决过得, gpiod下载有 阅读全文