C Plus Plus Programming, Cplusplus, C Plus Plus Language, Systems Programming, Software Engineering.
int array[5] = {1,2,3,4,5} int dynamic_array = new int[5] Instead, you MUST use the STL arrays for static arrays and vectors, deque, list & forward_list for dynamic arrays // Static Array std::array<int, 5> stl_array = {1, 2, 3, 4, 5}; // Dynamic Array vector<int> dv; deque<int> dd; list<int> dl;