摘要:
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,则系统自动分配缓存,则读出此文件只要一次系统调用从磁 阅读全文
摘要:
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 阅读全文
摘要:
#define GPBCON (*(volatile unsigned long*)0x56000010)1:volatile 当计算机需要一个数值的时候,会先把内存中的值读取到寄存器,然后下次在使用该值的时候就直接读取寄存器中的值了。加上volatile之后,程序就会在每次需要该值的时候都读取一次内存。这是为了防止某些原因硬件会改变其值。2: (volatile unsigned long *)即为强制类型转换;(volatile unsigned long *)0x56000010 的意思就是把0x56000010强制转换为unsigned long类型的指针。这时(volatile .. 阅读全文
摘要:
安装完ads的时候会出现错误,因为还要安装License Installation Wizard。 下一步会出现这个然后点击Browse...找到ads1.2下的CRACK(crack)文件夹的LICENSE.DAT(license.dat)文件。然后选择,一直下一步。ok,解决了!!! 阅读全文
摘要:
直接上例子: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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文