请逐项给出解释

shh03 2003-07-29 11:31:33
Functions called:
fflush (4 times)
free (7 times)
delete (12 times)
vsnprintf (614 times)
new (12 times)
memset (4 times)
SysReallocMem (525 times)
SysFreeMem (17488 times)
SysGetMem (17490 times)
lstrlenA (1 times)
lstrcpyA (4 times)
calloc (1 times)
strlen (25 times)
realloc (1 times)
strdup (1 times)
malloc (4 times)
memcpy (2 times)
Resource types used:
object (12 allocs, 12 max)
memory block (17497 allocs, 1323 max)
Modules used:
00400000 07/29/2003 10:57:26 C:\PROGRAM
FILES\BORLAND\SOURCE\YZ4-8-10\PYZ.EXE
==========================================
...全文
26 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
nxyc_twz 2003-07-29
  • 打赏
  • 举报
回复
这有什么好解释的!很简单啊!不就是模块调用分析吗?
zihan 2003-07-29
  • 打赏
  • 举报
回复
建议你装一个msdn
kingfish 2003-07-29
  • 打赏
  • 举报
回复
strdup 就更常用了
char *strdup(const char *s);
分配一块内存, 存放(拷贝进去)s

用过后需要释放内存(free)
shh03 2003-07-29
  • 打赏
  • 举报
回复
嘻嘻,我是直接从BCB的书看起的,现在深感c++基础的欠缺
fflush (4 times)
vsnprintf (614 times)
strdup (1 times)
我想不起程序中那里用到了流,String倒肯定用了不少,那最后一行的意思呢
kingfish 2003-07-29
  • 打赏
  • 举报
回复
一个是流操作,一个是字符串操作
stdio.h

看来楼主学c++时没用到过
shh03 2003-07-29
  • 打赏
  • 举报
回复
那这两项的意思呢
fflush (4 times)
vsnprintf (614 times)
kingfish 2003-07-29
  • 打赏
  • 举报
回复
当然大多数是简接使用

比如你使用AnsiString, 里面会用到上面的一些c函数
kingfish 2003-07-29
  • 打赏
  • 举报
回复
当然大多数是简单使用

比如你使用AnsiString, 里面会用到上面的一些c函数
shh03 2003-07-29
  • 打赏
  • 举报
回复
但我并没有调用这些函数啊,是不是内部的表示哦
kingfish 2003-07-29
  • 打赏
  • 举报
回复
函数名(调用的次数)
shh03 2003-07-29
  • 打赏
  • 举报
回复
比如
fflush (4 times)
vsnprintf (614 times)
lstrlenA (1 times)
calloc (1 times)
realloc (1 times)
strdup (1 times)
这些是什么意思呢

13,826

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder相关内容讨论区
社区管理员
  • 基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧