2
2111111
Unregistered / Unconfirmed
GUEST, unregistred user!
比如:
var
str:string;
pchar;
begin
str:='i can do t!';
//希望将所有的i改成k
p:=pointer(str);
p^:='k';
//这样改为什么会出错呢?
end;
var
str:string;
pchar;
begin
str:='i can do t!';
//希望将所有的i改成k
p:=pointer(str);
p^:='k';
//这样改为什么会出错呢?
end;