updated for presentation

This commit is contained in:
Stephen M. McQuay
2012-05-25 08:17:47 -06:00
parent b47b5c6f35
commit 530ccb5e37
7 changed files with 62 additions and 45 deletions
+6 -5
View File
@@ -1,6 +1,5 @@
#include <string>
#include <vector>
#include <map>
using namespace std;
struct Point {
@@ -13,10 +12,12 @@ const vector<string> s = {"a", "b", "c"};
int main() {
string s1 {"first"};
int x {42};
map<string, vector<int>> singers = {
{"Freddie Mercury", {100, 102, 103}},
{"Matt Bellamy", {100, 104, 105}},
};
vector<string> names_v = {"stephen", "michael", "bryan", "derek"};
// map example
// with nested types
x = 0;
return x;
}