 31.10.2025, 18:15
31.10.2025, 18:15 Sprache ändern
 Sprache ändern
							
							
							
						 Registrieren
 Registrieren Anmelden
 Anmelden
					
											Sie sind nicht angemeldet.
|   | Quellcode | 
| 1 2 3 4 5 6 7 | class CEditBox
{
protected:
   ...
public:
   ...
}; | 
|   | Quellcode | 
| 1 2 3 4 5 6 7 | class CExplorerBox : public CEditBox
{
private:
   ...
public:
   ...
}; | 
|   | Quellcode | 
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | // Konstruktor von CEditBox
CEditBox(int x, int y, int w, int h, FONT * fnt): drawRect(false), centered(false), lineVal(0)
      {
            if (!(w > SCREEN_X || h > SCREEN_Y))
            {
                  itsWidth = w; itsHeight = h;
                  itsX = x; itsY = y;
            }
            itsFnt = fnt;
            surface = create_bitmap(SCREEN_X, SCREEN_Y);
            surfaceCpy = create_bitmap(SCREEN_X, SCREEN_Y);
      };
// Konstruktor von CExplorerBox
CExplorerBox (int job)
      {
            if (job > 2 || job < 0) 
            {
                  //printf(fError, "FEHLER: CExplorerBox-Objekt soll ungültige Arbeit übernehmen! -> %i\n", job);
                  itsFunction = FILE_BROWSER;
            }
            else itsFunction = job;
      }; | 
|   | Quellcode | 
| 1 | CExplorerBox test( ? ? ? ? ? ? ? ? ?); | 

|   | Quellcode | 
| 1 2 3 4 5 6 7 8 9 | CExplorerBox::CExplorerBox(int job) : CEditBox(x, y, w, h, fnt)
{
      if (job > 2 || job < 0) 
      {
            //printf(fError, "FEHLER: CExplorerBox-Objekt soll ungültige Arbeit übernehmen! -> %i\n", job);
            itsFunction = FILE_BROWSER;
      }
      else itsFunction = job;
} | 

|   | Quellcode | 
| 1 2 3 4 5 6 7 8 9 10 11 | --------------------Konfiguration: sddz2 - Win32 Debug-------------------- Kompilierung läuft... explorerbox.cpp C:\VCP621\FindTheFlag\sddz2\explorerbox.cpp(3) : error C2065: 'x' : nichtdeklarierter Bezeichner C:\VCP621\FindTheFlag\sddz2\explorerbox.cpp(3) : error C2065: 'y' : nichtdeklarierter Bezeichner C:\VCP621\FindTheFlag\sddz2\explorerbox.cpp(3) : error C2065: 'w' : nichtdeklarierter Bezeichner C:\VCP621\FindTheFlag\sddz2\explorerbox.cpp(3) : error C2065: 'h' : nichtdeklarierter Bezeichner C:\VCP621\FindTheFlag\sddz2\explorerbox.cpp(3) : error C2065: 'fnt' : nichtdeklarierter Bezeichner Fehler beim Ausführen von cl.exe. explorerbox.obj - 5 Fehler, 0 Warnung(en) | 
|   | Quellcode | 
| 1 2 3 4 5 6 7 8 9 | CExplorerBox::CExplorerBox(int x, int y, int w, int h, FONT * fnt, int job) : CEditBox(x, y, w, h, fnt)
{
      if (job > 2 || job < 0) 
      {
            fprintf(fError, "FEHLER: CExplorerBox-Objekt soll ungültige Arbeit übernehmen! -> %i\n", job);
            itsFunction = FILE_BROWSER;
      }
      else itsFunction = job;
} | 

-
 
  
  
  
  
  
  
 