Create a gist now

Instantly share code, notes, and snippets.

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