Skip to content

Instantly share code, notes, and snippets.

View bilinin's full-sized avatar

Andrey Kargapolov bilinin

View GitHub Profile
#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);
#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);
#include <iostream>
#include <vector>
using namespace std;
struct Ttime{
int hour;
int minute;
};
class Train{
@bilinin
bilinin / 5) Workers
Last active February 28, 2017 15:27
#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);
@bilinin
bilinin / 4) Books
Last active February 28, 2017 14:44
#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);
#include <iostream>
#include <vector>
using namespace std;
struct Ttime{
int hour;
int minute;
};
class Aeroflot{
#include <iostream>
#include <vector>
using namespace std;
struct Mmarks{
int algebra;
int geometria;
int chemistry;
};
@bilinin
bilinin / 1) student
Last active February 28, 2017 17:58
student
#include <iostream>
#include <vector>
using namespace std;
struct date{
int day;
int month;
int year;
};
import random
import cgi
import binascii
import time
from datetime import datetime
from crccheck.crc import CrcModbus
from socket import *
import pickle
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