M
Michaeldeng
Unregistered / Unconfirmed
GUEST, unregistred user!
-----------1------------
Type
PStudent = ^TStudent;
TStudent = Record;
Name: string;
Age: Integer;
end;
-----------2------------
Type
TStudent = Record;
Name: string;
Age: Integer;
end;
PStudent = ^TStudent;
请问这两种定义有什么区别,即 PStudent = ^TStudent;的位置放在记录体前或后面有什么不同吗?
Type
PStudent = ^TStudent;
TStudent = Record;
Name: string;
Age: Integer;
end;
-----------2------------
Type
TStudent = Record;
Name: string;
Age: Integer;
end;
PStudent = ^TStudent;
请问这两种定义有什么区别,即 PStudent = ^TStudent;的位置放在记录体前或后面有什么不同吗?