暗 暗夜中独舞 Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-31 #2 var c: array[0..MAX] of char begin for i:=1 to length(s) do begin c[1] = s[1]; end; end;
M Mike1234567890 Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-31 #3 var s1:string; p1char; begin p1:=pchar(s1); //p1就是Pchar型的了串了 end;
Z zhengjp Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-31 #4 string类型是以char[id]数组形式存放的,上面的方式都可转换啊