Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
RSEnalotto 1.0 - Sestine.h

Sestine.h

Caricato da: Piero Tofy
Scarica il programma completo

  1. // Sestine.h: interface for the Sestine class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_SESTINE_H__D77742E1_FC20_11D8_8762_004F4E11B449__INCLUDED_)
  6. #define AFX_SESTINE_H__D77742E1_FC20_11D8_8762_004F4E11B449__INCLUDED_
  7.  
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11.  
  12. class Sestina  
  13. {
  14. public:
  15.         void SetMaxValueInitStatus(bool b_Flag);
  16.         bool GetMaxValueInitStatus();
  17.         int GetMaxValue();
  18.         void SetMaxValue(int value);
  19.         void SetNumber(int id, int value);
  20.         int GetNumber(int id);
  21.         Sestina();
  22.  
  23. private:
  24.         bool b_MaxValueInit;
  25.         int i_MaxValue;
  26.         int i_numbers[5];
  27.  
  28. };
  29.  
  30. #endif // !defined(AFX_SESTINE_H__D77742E1_FC20_11D8_8762_004F4E11B449__INCLUDED_)