Початок - latern-class.hpp

//Підключення бібліотек

#include <stdlib.h>

#include <stdio.h>

#include <iostream>

#include <conio.h>

#include <clocale>

#include <Windows.h>

#include <string>

#include <cstdlib>

using namespace std;

 

class Lamp //Назва класу

{

public:

bool power; //Вкл/Викл

bool bip; //Сигнал перегрівання

int t; //Температура

int tn; //Кімнатна температура

int L; //Люкси (освітлення)

int p; //Параметер положення регулятора

float T; //Час

bool next;

 

 

void init();

void eon();

void eoff();

void manual();

void aut();

};