Skip to content

Instantly share code, notes, and snippets.

View Soulstorm50's full-sized avatar

Soul Soulstorm50

View GitHub Profile
@Soulstorm50
Soulstorm50 / Pasport.cpp
Created September 10, 2016 19:46
Pasport
#include<iostream>
#include<string>
using namespace std;
class Pasport
{
string name;
string fathername;
string lastname;
string gender;
@Soulstorm50
Soulstorm50 / Aspirant.cpp
Created September 10, 2016 19:41
Aspirant
#include<iostream>
#include<string>
using namespace std;
class Student
{
string name;
string fathername;
string lastname;
string age;
@Soulstorm50
Soulstorm50 / TemplList.h
Created September 10, 2016 15:48
TemplList
#pragma once
#include <iostream>
using namespace std;
template <typename T>
class TemplList
{
public:
@Soulstorm50
Soulstorm50 / PoliceViolationTree.cpp
Created August 13, 2016 18:01
PoliceViolationTree
#include<iostream>
using namespace std;
typedef unsigned int uint;
class PoliceData;
class Node;
class Violation
{
struct Elem
@Soulstorm50
Soulstorm50 / MainDequeDoubleList.cpp
Created August 13, 2016 17:53
MainDequeDoubleList.cpp
#include<iostream>
#include"Deque.cpp"
#include"DoubleLinkedList.h"
using namespace std;
void main()
{
DoubleLinkedList d;
@Soulstorm50
Soulstorm50 / Deque.cpp
Created August 13, 2016 17:52
Deque.cpp
#include<iostream>
#include"DoubleLinkedList.h"
using namespace std;
class Deque
{
DoubleLinkedList d;
uint counter = 0;
public:
Deque()
{
#include <iostream>
#include <ctime>
using namespace std;
class Stack
{
int stack_size;
char *mass;
int top;
void Resize()
@Soulstorm50
Soulstorm50 / DoubleLinkedList.cpp
Created August 13, 2016 17:24
DoubleLinkedList
#include"DoubleLinkedList.h"
using namespace std;
DoubleLinkedList::DoubleLinkedList()
{
head = tail = nullptr;
count = 0;
}
void DoubleLinkedList::ClearList()
@Soulstorm50
Soulstorm50 / SinglyLinkedList.cpp
Created August 13, 2016 17:19
SinglyLinkedList
#include"SinglyLinkedList.h"
using namespace std;
SingleLinkedList::SingleLinkedList()
{
head = tail = nullptr;
count = 0;
}
SingleLinkedList::SingleLinkedList(SingleLinkedList& origin)
#include "Student.h"
#include"Dob.h"
#include"Adress.h"
#include<string.h>
Student::Student(char* phone,char*name,char*secondname,char*lastname)
{
SetPhone(phone);
SetName(name);