Commit 9ad94b92 authored by jkvis's avatar jkvis

Added opdracht 1

parent d7d5d6aa
private/
......@@ -21,8 +21,8 @@ Achtergrondinformatie: Mark Allen Weiss, Data Structures and Algorithm Analysis
Programmeeropdrachten in tweetallen
1. Opdracht 1 (deadline 17 oktober 2018): [Stacks]()
2. (komt nog)
1. Opdracht 1 (deadline 17 oktober): [Stapel](ds_2018_opdracht1.pdf) zie ook [skeletcode](handoutmain.cc)
2. Opdracht 2 (deadline 28 november): [Expressies]
3. (komt nog)
## Rooster
......
#include <iostream>
#include "array.h"
#include "linkedlist.h"
#include "stlstack.h"
#include "stlvector.h"
#include "backspace.h"
int main(int, char* [])
{
std::string invoer;
std::cin >> invoer;
std::cout << "Array Stack: ";
backspace<Array<char> >(invoer);
std::cout << "Linked List Stack: ";
backspace<LinkedList<char> >(invoer);
std::cout << "STL Vector Stack: ";
backspace<StlVector<char> >(invoer);
std::cout << "STL Stack Stack: ";
backspace<StlStack<char> >(invoer);
return 0;
} // main
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment