<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_IT小菜鸟的菜园子_分类_面试技术类</title><id>http://feed.cnblogs.com/blog/u/74355/category/298014/rss</id><updated>2012-06-03T04:32:59Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/liuliunumberone/category/298014.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/74355/category/298014/rss"/><entry><id>http://www.cnblogs.com/liuliunumberone/archive/2011/06/07/2074528.html</id><title type="text">关于面试宝典中的各个问题（一）</title><summary type="text">1、关于浮点数1.0f在内存中的表示：是3f800000.各个类型所占的字节数（byte），1byte=8bitchar 1short 2bool 1int 4long 4float 4double 8 long double 8char * 4int * 4float * 4以上是对于我的电脑，在典型的32位机上面的用VS2008的情况，64位机上会有不同。具体情况会因为电脑和编译器的原因而不同。参考资料《深入理解计算机系统》P28.2、整数提升 --来自《面试宝典》P37int _tmain(int argc, _TCHAR* argv[]){unsigned char a=0xA5;</summary><published>2011-06-07T13:29:00Z</published><updated>2011-06-07T13:29:00Z</updated><author><name>sensensen</name><uri>http://www.cnblogs.com/liuliunumberone/</uri></author><link rel="alternate" href="http://www.cnblogs.com/liuliunumberone/archive/2011/06/07/2074528.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/liuliunumberone/archive/2011/06/07/2074528.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/liuliunumberone/archive/2011/05/06/2038628.html</id><title type="text">面试问题——fread和read的区别</title><summary type="text">面试碰到了如题的问题，回来百度了一下，解答如下：fread返回的是一个FILE结构指针而read返回的是一个int的文件号前者fopen/fread的实现是靠调用底层的open/read来实现的.fopen/fread是C标准的库函数，操作的对象是： file streamopen/read是和操作系统有关的系统调用。操作的对象是： “file descriptor”f是ANSI的C标准库。后面的是UNIX下的系统调用。带f的带有缓冲，是后面的衍生，直接和硬件打交道，必须是后面的！UNIX环境下的C 对二进制流文件的读写有两套班子：1) fopen,fread,fwrite ; 2) open</summary><published>2011-05-06T02:48:00Z</published><updated>2011-05-06T02:48:00Z</updated><author><name>sensensen</name><uri>http://www.cnblogs.com/liuliunumberone/</uri></author><link rel="alternate" href="http://www.cnblogs.com/liuliunumberone/archive/2011/05/06/2038628.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/liuliunumberone/archive/2011/05/06/2038628.html"/><content type="html"/></entry></feed>
