12 2018 档案

摘要:#include "string.h" #include "stdio.h" char * nixu(char *c) { int i=0; int n = strlen(c); char *p1 = c + n -1; char *p2 = c; char *p3 = c; while(p1>p2) { char a;... 阅读全文
posted @ 2018-12-23 21:39 昊天一怪 阅读(701) 评论(0) 推荐(0) 编辑
摘要:/* hello1.c */#include <stdio.h>int hello1 (void){printf("hello 1!\n");return 0;}/* hello2.c */#include <stdio.h>int hello2 (void){printf("hello 2!\n" 阅读全文
posted @ 2018-12-08 22:46 昊天一怪 阅读(191) 评论(0) 推荐(0) 编辑
摘要:1、在 32 位系统上, Linux 内核将 4G 空间分为 1G 内核空间(3~4G)和 3G(0~3G)用户空间,通过内存管理,每个进程都可以使用 3G 的用户空间 2、基于linux主机调试开发板时,目标板需要gdbserver。将生成的二进制文件作为网络路径挂载在目标板上进行在线调试; 基于 阅读全文
posted @ 2018-12-06 22:03 昊天一怪 阅读(149) 评论(0) 推荐(0) 编辑