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

using namespace std;

int
main()
{
	string students[100];
	Complex point[100][2];

	vector<string> vstudents(3);

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

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

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

	vstudents.push_back("Diane");
	vstudents.pop_back();

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

	vstudents.clear();

	if(vstudents.empty())
		cout << "no students\n";

	/*
	 * This would be a problem because the valid indices
	 * of students are only 0 to 99

	for(int i = 0; i <= 100; ++i)
		students[i]
	*/

	// address of students[i] = address of students + i
	// at the byte level: address of students + i * sizeof(string)

	int x[10][5];
	// address of x[i][j] = address of x + 5*i + j

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

	return 0;
}
