fork download
  1. //---------------------------------------------------------------------------
  2.  
  3. #ifndef TestButtonH
  4. #define TestButtonH
  5. //---------------------------------------------------------------------------
  6. #include <SysUtils.hpp>
  7. #include <Classes.hpp>
  8. #include <Controls.hpp>
  9. #include <StdCtrls.hpp>
  10. //---------------------------------------------------------------------------
  11. enum ButtonSize{
  12. _10X20 , _30X40 , _50X60
  13. };
  14. class PACKAGE TTestButton : public TButton
  15. {
  16. private:
  17. TImage *Image;
  18. ButtonSize FSize;
  19. void __fastcall SetFSize(ButtonSize Value);
  20. protected:
  21. public:
  22. __fastcall TTestButton(TComponent* Owner);
  23.  
  24. __published:
  25. __property ButtonSize Size = {read = FSize , write = SetFSize , default = 0};
  26. };
  27. //---------------------------------------------------------------------------
  28. #endif
  29.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:6:24: fatal error: SysUtils.hpp: No such file or directory
 #include <SysUtils.hpp>
                        ^
compilation terminated.
stdout
Standard output is empty