- 博客(4)
- 收藏
- 关注
原创 How do I get a MAC address via command line?
The first one thatcomes to mind is GetMAC. Simply open a command prompt and type GetMACand it will return your 48-bit MAC address in the following format:Physical Address Transport Name====
2005-05-23 00:31:00 908
原创 typedef和define的区别
define char* String; String filename; 这段代码是可以工作的那么为什么还要多个typedef呢? 请看下面代码 利用上面的代码,如果这样写 String file1,file2; 经过替换, 变成 char* file1,file2; 虽然在编译上不错但是含义却错了, 里面的 file1是指针而file2是一个字符 但是用了 typedef就没这个问题了. ty
2005-05-16 16:19:00 998
转载 找出较大值
There are two int variables: a and b, don’t use “if”, “? :”, “switch” or other judgement statements, find out the biggest one of the two numbers.// 如果 i >= 0,返回0。否则返回1。在 max() 中被调用。 inline int signof(
2005-05-16 15:22:00 733
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人