#include <iostream>
#include <vector>
#include <map>
#include "complex.h"

using namespace std;

int
main()
{
	string students[100];

	students[0] = "Alice";
	students[1] = "Bob";
	students[2] = "Chris";

	for(int i = 0; i < 3; ++i)
		cout << students[i] << endl;

	/*
		address of students[i] = address of students + i
	*/

	vector<Complex> data(3);

	data[0] = Complex(1, 2);

	cout << data[0] << endl;

	cout << data.size() << endl;

	data.push_back(Complex(1, 3));

	cout << data.size() << endl;

	data.clear();
	if(data.empty())
		cout << "It's empty\n";

	map<string, string> last_name;
	last_name["Bob"] = "Smith";

	cout << last_name["Bob"] << endl;

	int chess[8][8];
	vector<string> people(3);

	string alice("Alice");
	people[0] = alice;

	cout << people[0][3] << endl;

	return 0;
}
