Skip to content

Instantly share code, notes, and snippets.

@berkeley-db
Created January 23, 2011 19:42
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save berkeley-db/792361 to your computer and use it in GitHub Desktop.
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