Created
January 23, 2011 19:42
-
-
Save berkeley-db/792361 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int vector_test(int, char**) | |
{ | |
typedef std::vector<double> dbl_vec_t; // (1) | |
dbl_vec_t v1; // Empty vector of doubles. (1) | |
v1.push_back(32.1); | |
v1.push_back(40.5); | |
// The rest follows ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment