added a bunch of exmaples and some notes

This commit is contained in:
Stephen M. McQuay
2012-05-05 09:01:40 -06:00
parent 4595d554dc
commit 71adea8733
7 changed files with 72 additions and 39 deletions
+17
View File
@@ -0,0 +1,17 @@
#include <vector>
// valid c++03:
struct thang
{
float f;
int i;
};
thang scalar = {3.14, 42};
thang anArray[] = {{1.1, 1}, {2.2, 2}, {3.3, 3}};
int main() {
// vector<thang> v = { ??? }
return 0;
}