This file contains hidden or 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<string> | |
using namespace std; | |
class Pasport | |
{ | |
string name; | |
string fathername; | |
string lastname; | |
string gender; |
This file contains hidden or 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<string> | |
using namespace std; | |
class Student | |
{ | |
string name; | |
string fathername; | |
string lastname; | |
string age; |
This file contains hidden or 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
#pragma once | |
#include <iostream> | |
using namespace std; | |
template <typename T> | |
class TemplList | |
{ | |
public: |
This file contains hidden or 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> | |
using namespace std; | |
typedef unsigned int uint; | |
class PoliceData; | |
class Node; | |
class Violation | |
{ | |
struct Elem |
This file contains hidden or 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"Deque.cpp" | |
#include"DoubleLinkedList.h" | |
using namespace std; | |
void main() | |
{ | |
DoubleLinkedList d; |
This file contains hidden or 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"DoubleLinkedList.h" | |
using namespace std; | |
class Deque | |
{ | |
DoubleLinkedList d; | |
uint counter = 0; | |
public: | |
Deque() | |
{ |
This file contains hidden or 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 <ctime> | |
using namespace std; | |
class Stack | |
{ | |
int stack_size; | |
char *mass; | |
int top; | |
void Resize() |
This file contains hidden or 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"DoubleLinkedList.h" | |
using namespace std; | |
DoubleLinkedList::DoubleLinkedList() | |
{ | |
head = tail = nullptr; | |
count = 0; | |
} | |
void DoubleLinkedList::ClearList() |
This file contains hidden or 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"SinglyLinkedList.h" | |
using namespace std; | |
SingleLinkedList::SingleLinkedList() | |
{ | |
head = tail = nullptr; | |
count = 0; | |
} | |
SingleLinkedList::SingleLinkedList(SingleLinkedList& origin) |
This file contains hidden or 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 "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); |