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
+18
View File
@@ -0,0 +1,18 @@
#include <string>
using namespace std;
struct Point {
int x, y;
Point(int x, int y): x(x), y(y){}
};
// const vector<string> v = ??;
// http://stackoverflow.com/a/4268956
int main() {
string s1("first");
int x = int(42);
string s2 = "hello";
int y = 42;
return 0;
}