掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
移植するには? (ID:37388)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
すみません、 間違いました。 << test.h >> class TTest { public: int X; int Y; void __fastcall Set(int SetX, int SetY); }; extern TTest Test << test.cpp >> void __fastcall TTest::Set(int SetX, int SetY) { Test.X = SetX; Test.Y = SetY; } << unit1.cpp >> #include "test.h" void __fastcall TForm1::Button1Click(TObject *Sender) { Test.Set(0,0); }
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.