上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页
摘要: 1,fread是带缓冲的,read不带缓冲.2,fopen是标准c里定义的,open是POSIX中定义的.3,fread可以读一个结构.read在linux/unix中读二进制与普通文件没有区别.4,fopen不能指定要创建文件的权限.open可以指定权限.5,fopen返回指针,open返回文件描述符(整数).6,linux/unix中任何设备都是文件,都可以用open,read.如果文件的大小是8k。你如果用read/write,且只分配了2k的缓存,则要将此文件读出需要做4次系统调用来实际从磁盘上读出。如果你用fread/fwrite,则系统自动分配缓存,则读出此文件只要一次系统调用从磁 阅读全文
posted @ 2013-09-10 16:21 net小伙 阅读(3589) 评论(0) 推荐(0) 编辑
摘要: To prevent SharePoint Online customers from feeling boxed in, Microsoft wants to improve the way they upload and store documents in the platform, Office 365's cloud collaboration server.Over the coming weeks, Microsoft will roll out a set of changes to Office 365 targeted at SharePoint Online us 阅读全文
posted @ 2013-09-06 14:47 net小伙 阅读(236) 评论(0) 推荐(0) 编辑
摘要: #define GPBCON (*(volatile unsigned long*)0x56000010)1:volatile 当计算机需要一个数值的时候,会先把内存中的值读取到寄存器,然后下次在使用该值的时候就直接读取寄存器中的值了。加上volatile之后,程序就会在每次需要该值的时候都读取一次内存。这是为了防止某些原因硬件会改变其值。2: (volatile unsigned long *)即为强制类型转换;(volatile unsigned long *)0x56000010 的意思就是把0x56000010强制转换为unsigned long类型的指针。这时(volatile .. 阅读全文
posted @ 2013-09-06 10:45 net小伙 阅读(2154) 评论(0) 推荐(0) 编辑
摘要: 安装完ads的时候会出现错误,因为还要安装License Installation Wizard。 下一步会出现这个然后点击Browse...找到ads1.2下的CRACK(crack)文件夹的LICENSE.DAT(license.dat)文件。然后选择,一直下一步。ok,解决了!!! 阅读全文
posted @ 2013-09-04 22:48 net小伙 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 直接上例子:1.c1 #include2 int main()3 {4 extern int a;5 a += 10;6 printf("%d\n",a);7 text();8 text2();9 }2.c 1 int a = 10; 2 void text() 3 { 4 printf("%d\n",a); 5 } 6 7 void text2() 8 { 9 printf("%d\n",a);10 }输出的结果是202020 阅读全文
posted @ 2013-09-04 22:40 net小伙 阅读(198) 评论(0) 推荐(0) 编辑
摘要: You know Ian and Felton can be really boring sometimes. They're always arguing, like. like children. It drives me crazy. They even argue about music. Tastes differ!有时候伊恩和菲尔顿真的很无聊。他们经常像个孩子一样争吵。这让我们抓狂。他们甚至争论音乐。每个人的品味都是不同的。I particularly like hip-hop and rock. And Felton doesn't. Who cares? I u 阅读全文
posted @ 2013-09-04 09:11 net小伙 阅读(338) 评论(0) 推荐(0) 编辑
摘要: Nokia will focus on network infrastructure, mapping and locations services and technology development and licensingSeptember 03, 2013, 1:26 AM—Microsoft is to acquire Nokia's Devices & Services business, which includes the smartphone and mobile phones businesses, and license the Finnish comp 阅读全文
posted @ 2013-09-03 17:10 net小伙 阅读(291) 评论(0) 推荐(0) 编辑
摘要: Companies are worth a multiple of their earnings and that multiple is directly related to earnings growth rates. When you are growing rapidly, you are worth more.But living forever and growing forever have something in common. You can't do it.I was talking to the CEO of one of our portfolio comp 阅读全文
posted @ 2013-07-25 23:03 net小伙 阅读(285) 评论(0) 推荐(0) 编辑
摘要: Sales + Customers = Nothing Brokenis the formula for corporate cyanide. Most big companies that die kill themselves drinking it. Complacency is an enemy. “If it ain’t broke don’t fix it,” is an impossible idiom. No matter what the sales, no matter what the customer satisfaction, there is always some 阅读全文
posted @ 2013-07-22 13:36 net小伙 阅读(257) 评论(0) 推荐(0) 编辑
摘要: The Secret Of SteveThe secret of Steve is simple. It explains his success and excess. It exemplifies our instinct for creation. Creating is not a result of genius, unconscious incubation or aha! moments. It is a result of thinking: a series of mental steps consisting of problem, solution, repeat. Th 阅读全文
posted @ 2013-07-21 15:19 net小伙 阅读(383) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页