Be better
发布时间:2016-04-11 09:45:55
最近涉及到usrp,一路摸石头过水。亏得有google baidu。否则弄下来真无法估量。当然其中参考了网上的一些做法,这usrp整套实验平台的搭建工作两还真不少。......【阅读全文】
发布时间:2016-04-11 09:44:40
上篇谈到历经折磨,挫折不断的安装路程。想必一路过关斩将的感觉少许有些成就感。在测试usrp n210是否成功安装,那就来执行一些例程验证。......【阅读全文】
发布时间:2016-03-23 12:06:47
#define _CRT_SECURE_NO_WARNINGS#define DEBUG#include<stdio.h>#include<stdlib.h>#include<assert.h>#include<windows.h>#ifndef DEBUG#define myassert(x)//没有代码检测提示#else#define myassert(x)\if(!(x))\{\printf("myassert(%s)宏开适检测......\n",#x);\printf("当前函数名为%s,文件名.........【阅读全文】
发布时间:2016-03-06 15:59:18
#include<stdio.h>#include<stdlib.h>#include<math.h>#include <time.h>#define SIZE 10void main(){int flag = 0;int a[SIZE];time_t ts;unsigned int date = time(&ts);srand(date);for (int i = 0; i < SIZE; i++){a[i] = rand()%100;printf("%-5d\n", a[i]);}printf("*************\n");for (.........【阅读全文】
发布时间:2016-03-06 12:54:04
#include<stdio.h>#include<stdlib.h>#include<math.h>#define LINE 9#define ROW 17void main(){int a[LINE][ROW] = { 0 };a[0][ROW / 2] = 1;for (int i = 0; i < LINE; i++){for (int j = 0; j < ROW; j++){if (i == 0)//打印第一行{if (a[i][j] == 0){putchar(' ');putchar(' ');}elsepri.........【阅读全文】