<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[【问题】Turbo C 下如何获得内存分配的长 ..]]></title>
 <link><![CDATA[http://bbs2.chinaemu.org/read.php?tid=53392]]></link>
 <description><![CDATA[Latest 20 replies of 【问题】Turbo C 下如何获得内存分配的长 ..]]></description>
 <copyright><![CDATA[Copyright(C) 【 浮游城 - Castle in the Sky | 开放邀请注册，PS|SS|WII|DC下载研究中心 】]]></copyright>
 <generator><![CDATA[PHPWind Forums by PHPWind Studio]]></generator>
 <lastBuildDate><![CDATA[Sun, 12 Apr 2026 03:38:46 +0000]]></lastBuildDate>
  <image>
 <url><![CDATA[images/rss.gif]]></url>
 <title><![CDATA[PHPWind Board]]></title>
 <link><![CDATA[http://bbs2.chinaemu.org]]></link>
 <description><![CDATA[【 浮游城 - Castle in the Sky | 开放邀请注册，PS|SS|WII|DC下载研究中心 】]]></description>
  </image>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote][b]引用第9楼[i]Taburiss[/i]于[i]2006-08-09 09:45[/i]发表的“”[/b]:
偶手头米有TC~~~
只有VC2005...
做个Win32API console的……试验……
可以取出来~~[/quote]

那返回的是内存段的大小？我怎么看像是指针的大小。。。]]></description>
 <link><![CDATA[http://bbs2.chinaemu.org/read.php?tid=53392#405941]]></link>
 <author><![CDATA[拉菲尔]]></author>
 <category><![CDATA[【 电脑全方位 | Computer All Round  】]]></category>
 <pubdate><![CDATA[Wed, 09 Aug 2006 21:55:55 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[还是visual studio.net2003好。
虽然我有2005Z版。不过一直用2003。
嘿嘿！]]></description>
 <link><![CDATA[http://bbs2.chinaemu.org/read.php?tid=53392#405715]]></link>
 <author><![CDATA[dolphin]]></author>
 <category><![CDATA[【 电脑全方位 | Computer All Round  】]]></category>
 <pubdate><![CDATA[Wed, 09 Aug 2006 05:17:14 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[偶手头米有TC~~~
只有VC2005...
做个Win32API console的……试验……
可以取出来~~]]></description>
 <link><![CDATA[http://bbs2.chinaemu.org/read.php?tid=53392#405647]]></link>
 <author><![CDATA[Taburiss]]></author>
 <category><![CDATA[【 电脑全方位 | Computer All Round  】]]></category>
 <pubdate><![CDATA[Wed, 09 Aug 2006 01:45:58 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[我就是以前试过不行才问有没有可行的方法的，

至于用xms现在我还不敢想。。。]]></description>
 <link><![CDATA[http://bbs2.chinaemu.org/read.php?tid=53392#405549]]></link>
 <author><![CDATA[拉菲尔]]></author>
 <category><![CDATA[【 电脑全方位 | Computer All Round  】]]></category>
 <pubdate><![CDATA[Tue, 08 Aug 2006 14:43:53 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[传统的C里面，用到的内存还是DOS模式下，640k的基本内存~~要用到更多的话，就得使用DOS4GW之类的保护模式的库~~挺麻烦的~~偶也没真正试验过~~

另外……拉拉……作这样一个试验，连3分钟都用不到耶……算上找TC的时间……也不会超过半小时耶……]]></description>
 <link><![CDATA[http://bbs2.chinaemu.org/read.php?tid=53392#405333]]></link>
 <author><![CDATA[Taburiss]]></author>
 <category><![CDATA[【 电脑全方位 | Computer All Round  】]]></category>
 <pubdate><![CDATA[Tue, 08 Aug 2006 04:35:54 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[原来经常去这里
[url]http://www.vcok.com[/url]或者vcok.net
里面很详细。

现在有点忘了。反正大概就是
int *pInt=(int *)malloc(1000,sizeof(int)); //意思是开辟了一块内存，大小是1000个INT这么大，也就是相当于2000个字符的大小

之后比如你可以往这里写东西，比如
File *fp=fopen(&quot;1.txt&quot;,&quot;rw+&quo ..]]></description>
 <link><![CDATA[http://bbs2.chinaemu.org/read.php?tid=53392#405295]]></link>
 <author><![CDATA[dolphin]]></author>
 <category><![CDATA[【 电脑全方位 | Computer All Round  】]]></category>
 <pubdate><![CDATA[Tue, 08 Aug 2006 02:07:10 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[如果是这样
int function(int *ptr)
{
 &nbsp; return (sizeof (ptr));
}

能返回指针所指内存的长度吗？]]></description>
 <link><![CDATA[http://bbs2.chinaemu.org/read.php?tid=53392#405261]]></link>
 <author><![CDATA[拉菲尔]]></author>
 <category><![CDATA[【 电脑全方位 | Computer All Round  】]]></category>
 <pubdate><![CDATA[Tue, 08 Aug 2006 00:31:17 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[sizeof的功能，就包括察看变量的长度啊……
sizeof(object);
那个object基本上就等于anything you can find....
试验一下就知道咯~~：）]]></description>
 <link><![CDATA[http://bbs2.chinaemu.org/read.php?tid=53392#405248]]></link>
 <author><![CDATA[Taburiss]]></author>
 <category><![CDATA[【 电脑全方位 | Computer All Round  】]]></category>
 <pubdate><![CDATA[Mon, 07 Aug 2006 23:40:23 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote][b]引用第1楼[i]Taburiss[/i]于[i]2006-08-07 12:31[/i]发表的“”[/b]:
ＳＩＺＥＯＦ．．．就是取得长度啊……[/quote]
不是吧，T大，sizeof是检测类型大小的，难道有高深的方法，望赐教 [s:55] 

to2楼：malloc可以知道大小？]]></description>
 <link><![CDATA[http://bbs2.chinaemu.org/read.php?tid=53392#405233]]></link>
 <author><![CDATA[拉菲尔]]></author>
 <category><![CDATA[【 电脑全方位 | Computer All Round  】]]></category>
 <pubdate><![CDATA[Mon, 07 Aug 2006 22:36:37 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[malloc]]></description>
 <link><![CDATA[http://bbs2.chinaemu.org/read.php?tid=53392#405014]]></link>
 <author><![CDATA[dolphin]]></author>
 <category><![CDATA[【 电脑全方位 | Computer All Round  】]]></category>
 <pubdate><![CDATA[Mon, 07 Aug 2006 07:40:45 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[ＳＩＺＥＯＦ．．．就是取得长度啊……]]></description>
 <link><![CDATA[http://bbs2.chinaemu.org/read.php?tid=53392#404954]]></link>
 <author><![CDATA[Taburiss]]></author>
 <category><![CDATA[【 电脑全方位 | Computer All Round  】]]></category>
 <pubdate><![CDATA[Mon, 07 Aug 2006 04:31:37 +0000]]></pubdate>
</item>
</channel></rss>