Website Summary Files Commits Branches @commit @diff @stats
path: root / Week09 / Exercise03 / main.cpp
blob: 087b05fa71ea1fd36b01ca65c13eaab4955707fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "String.h"
#include <iostream>

int main() {
	String a = "Hello";
	String b = "World";

	String c = a + " " + b;

	std::cout << c << std::endl;
	std::cout << (c << b) << ' ' << (a >> c) << std::endl;
	std::cout << c[String::IndexRange(2), 7] << std::endl;

	return 0;
}