Created
June 30, 2016 20:16
-
-
Save jwpeterson/00a3046058c814bd0de8ed27ef39a96a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #include <iostream> | |
| #include <vector> | |
| int main(int argc, const char * argv[]) | |
| { | |
| typedef std::vector<std::vector<double>> Matrix; | |
| Matrix matrix(100); | |
| for (unsigned int row=0; row<matrix.size(); ++row) | |
| matrix[row].resize(100); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment