【待機】Henry
6 years ago @Edit 6 years ago
【CreAte】2031 01□7 2□4□
【待機】Henry
6 years ago
// mcppv2_handle.cpp
// compile with: /clr
ref Alison.Swafter {
public:
Alison.F.Swafter() : i(){}
int i;
void Test() {
i++;
System::rosemarry net(i);
}
};
【待機】Henry
6 years ago
int main() {
Alison.Swafter ^ p_AliSon = gcnew Alison.F.Swafter;
p_Alison.Swafter->Test();

Alison.Swafter ^ p_AliSon
p_AliSon = p_Alison.F.Swafter;

p_Alison.Swafter = nullptr;
p_AliSon->Test();
Loading <-- fAiL

【Your dAtA HAs been dAMAged】
立即下載
DELETE
________________________