summaryrefslogtreecommitdiff
path: root/9p24.cpp
blob: 23b0e0e6ce2ddc6cbaf698440999607d1aae4f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <iostream>
#include <vector>

/*
 *
 * 9.24
 *
 *
 */

int main () {

	std::vector<int> a;
	std::cout << a.at(0) << std::endl; //Exception
	std::cout << a.front() << std::endl; // Segfault
	std::cout << a.back() << std::endl; // Segfault
	return 0;
}