Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mdadul/STL_implementation

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
13 Commits
 
 
 
 
 
 

Repository files navigation

STL_implementation

Standard Template library implementation by oop c++

Vector Class Implementation

Function Name activity
push() add an element
pop() delete last element
size() show the size of vector
begin() return the first index no.
end() return the last index no.
update() update an element at any index

Generic Class

template<class T>
class Vector{
};

Member Function prototype

void push(T data);
void pop();
int size();
void update(T data, int index);
int begin();
int end();
void print();

Map Implementation

Function Name activity
push() add an element
pop() delete last element
size() show the size of vector
begin() return the first index no.
end() return the last index no.
update() update an element at any index

Generic Class

template<class T>
class Vector{
};

Member Function prototype

void push(T data);
void pop();
int size();
void update(T data, int index);
int begin();
int end();
void print();

Set Implementation

Function Name activity
push() add an element
pop() delete last element
size() show the size of vector
begin() return the first index no.
end() return the last index no.
update() update an element at any index

Generic Class

template<class T>
class Vector{
};

Member Function prototype

void push(T data);
void pop();
int size();
void update(T data, int index);
int begin();
int end();
void print();

String Implementation

Function Name activity
push() add an element
pop() delete last element
size() show the size of vector
begin() return the first index no.
end() return the last index no.
update() update an element at any index

Generic Class

template<class T>
class Vector{
};

Member Function prototype

void push(T data);
void pop();
int size();
void update(T data, int index);
int begin();
int end();
void print();

Stack Implementation

Generic Function

template<class T>
class Stack{
};
Function Name activity
init() initialization
push() add an element
pop() delete last element

About

Standard Template Library implementation using OOP in C++

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.