09 2021 档案

摘要: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; } 执行 阅读全文
posted @ 2021-09-21 14:34 hbg-rohens 阅读(191) 评论(0) 推荐(0) 编辑
摘要:编译时 加上 pkg-config --cflags --libs opencv 选项 阅读全文
posted @ 2021-09-13 17:26 hbg-rohens 阅读(2578) 评论(0) 推荐(0) 编辑
摘要:char ToUpper(char c){ return (ch >= 'a' && ch <= 'z') ? (ch - 'a' + 'A') : ch;}char ToLower(char c){ return (ch >= 'A' && ch <= 'Z') ? (ch - 'A' + 'a' 阅读全文
posted @ 2021-09-11 14:26 hbg-rohens 阅读(34) 评论(0) 推荐(0) 编辑
摘要:A stack overflow in task spam_task has been detected. 错误改正方法: 将数组移到函数外部,作为全局变量。 阅读全文
posted @ 2021-09-02 14:19 hbg-rohens 阅读(1372) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示