aboutsummaryrefslogtreecommitdiff
path: root/oop1w5/main.cpp
blob: a2603fa5c85b271972e6291bded1f555904218dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "StringWeek5.h"

#include <iostream>

int main() {
    StringWeek5 myString;

    myString.add("hallo allemaal ");
    myString.add(42);
    myString.add(" ");
    myString.add(3.14159265358979);

    std::cout << myString.getText() << std::endl;

    myString.removeAll("all");

    std::cout << myString.getText() << std::endl << std::endl;

    return 0;
}