C语言
bestman
“If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas.” ~ George Bernard Shaw
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
arm11 Tiny6410 gpio驱动实现输入和输出
这个驱动人家都说很简单,因为需要,所以我自己写了一个。 其实最后发现要是初学者写这个驱动还是不简单的,问了好多人,发了好多帖子,会的人寥寥无几啊,网上贴的都是一些只有中断输入button和只有输出的led的demo,很难使用,我把我写好的给大家分享下,大家有什么问题可以直接问我。 我把需要注意的地方列出来 在以前常见的GPIO作为中断使用的时候,一般做以下步骤即可: * 设置GPIO复用功原创 2012-09-13 14:18:04 · 5025 阅读 · 0 评论 -
二维指针的使用
#include <stdio.h> #include <iostream> #include <string.h> using namespace std; //#define TEST int main() { int size = 100; int **b = new int*[size]; b[0] = new int[si...原创 2020-12-11 10:00:24 · 472 阅读 · 0 评论
分享