240 私信
这个人很懒,暂无签名信息
0

u-boot与linux下网卡MAC地址的更改

前言 ①假设有许多开发板,连接到了同一个路由器中,而路由器的dhcpd是根据MAC地址来分配一个固定的IP地址,那么就需要为每一个开发板设定一个不同的MAC地址从而获取不同的IP地址。 ②MAC地址是需要购买的(参考点1),在产品出厂之前,都需要给板子一个MAC地址(如果有对应的设备,例如网卡,Wifi)。且这个MAC地址在出厂后,我们并不期望被更改。 下面简述了嵌入式产品中如何保证IP地址...

0

hdu 1061Rightmost Digit 模幂运算

Description Given a positive integer N, you should output the most right digit of N^N. Input The input contains several test cases. The first line of the input is a single integer T which is the n...

0

VC中使用STL的hash_map

/* *用来测试STL hash_map *简单例子2008.5.5 */ #include #include #include #include /*因为hash_map暂不为CPP标准所以没办法写为*/ /*-------------------------------------------*/ using std::cout; using std::endl; us...

个人介绍
暂无介绍