vector<vector<int>> matrix(3, vector<int>(3));
// creates a 3x3 matrix of integers with vectors inside a main vector
Code Example |
---|
Cpp :: c++ simple projects |
Cpp :: c++ arithmetic operators |
Cpp :: c++ sieve of eratosthenes |
Cpp :: primes in range cpp |
Cpp :: C++ std::string find and replace |
Cpp :: C++ array sort method |
Cpp :: convert string to lpstr |
Cpp :: how to convert string into lowercase in cpp |
Cpp :: c++ for else |
Cpp :: convert string to lpwstr |
Cpp :: c++ reference |
Cpp :: index string c++ |
Cpp :: c++ get type name of object |
Cpp :: std distance |
Cpp :: priority queue c++ |
Cpp :: cstring to string |
Cpp :: for c++ |
Cpp :: rotate array cpp |
Cpp :: cannot jump from switch statement to this case label c++ |
Cpp :: How to write into files in C++ |
Cpp :: remove space in string c++ |
Cpp :: string split by space c++ |
Cpp :: cpp getter as const |
Cpp :: string search c++ |
Cpp :: new line in c++ |
Cpp :: c++ if example |
Cpp :: c++ initialize static variable |
Cpp :: cpp detect os |
Cpp :: c++ tuple |
Cpp :: long pi in c++ |