
c/c++
知秋一叶123
嵌入式linux开发
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
贪吃蛇
1.最近在了解ncurses这个字符终端处理库,使用这个库写了一个简单的贪吃蛇游戏w,s,a,d控制上下左右,代码如下: #include #include #include #include #include typedef struct _tagDirect { int x; int y; }Direct; typedef struct _tagSnakeNod原创 2015-12-12 21:43:38 · 440 阅读 · 0 评论 -
rsa数字签名实现
使用openssl库进行封装实现,代码如下: static int base64_decode(char *str,int str_len,char *decode,int decode_buffer_len) { int len=0; BIO *b64,*bmem; b64=BIO_new(BIO_f_base64()); BIO_set_flags(b64,原创 2016-02-19 12:37:20 · 5970 阅读 · 1 评论