This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
using namespace std; | |
class Patient{ | |
public: | |
// Конструктор | |
Patient(string FirstName, string LastName, string MiddleName, string Adress, string Diagnosis,int CardNumber){ | |
set_first_name(FirstName); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
using namespace std; | |
class Product{ | |
public: | |
// Конструктор | |
Product(string Name, string Manufacturer, int Price, int ExpirationDate, int Amount){ | |
set_name(Name); | |
set_manufacturer(Manufacturer); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
using namespace std; | |
struct Ttime{ | |
int hour; | |
int minute; | |
}; | |
class Train{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
using namespace std; | |
class Worker{ | |
public: | |
// Конструктор | |
Worker(string LastName, string Initials, string Post, int Year, int Pay){ | |
set_last_name(LastName); | |
set_initials(Initials); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
using namespace std; | |
class Book{ | |
public: | |
// Конструктор | |
Book(string Autor, string Name, string Publishing, int Year, int Sheets){ | |
set_autor(Autor); | |
set_name(Name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
using namespace std; | |
struct Ttime{ | |
int hour; | |
int minute; | |
}; | |
class Aeroflot{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
using namespace std; | |
struct Mmarks{ | |
int algebra; | |
int geometria; | |
int chemistry; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
using namespace std; | |
struct date{ | |
int day; | |
int month; | |
int year; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import cgi | |
import binascii | |
import time | |
from datetime import datetime | |
from crccheck.crc import CrcModbus | |
from socket import * | |
import pickle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://pythonworld.ru/web/cgi-2.html | |
sudo -H pip install matplotlib | |
import matplotlib as mpl | |
import matplotlib.pyplot as plt | |
mpl.rcParams['font.family'] = 'fantasy' | |
mpl.rcParams['font.fantasy'] = 'Arial' # Для Windows |
NewerOlder