What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-11-21 23:47:13
show a vector in c++
// A recursive function able to print a vector // of an arbitrary amount of dimensions. template<typename T> static void show(T vec) { std::cout << vec; } template<typename T> static void show(std::vector<T> vec) { int size =... Add solution -
C++ 2021-11-20 13:01:29
delete index from array c++
const int SIZE = 9; int arr[SIZE]; cout << "Enter numbers: \n"; for (int i = 0; i < SIZE; i++) cin >> arr[i]; for (int i = 0; i < SIZE; i++) cout << arr[i] << "\t"; cout << endl; cout &l... Add solution -
C++ 2021-11-16 03:47:20
reverse an array in c++
#include <iostream> using namespace std; int main() { // While loop const int SIZE = 9; int arr [SIZE]; cout << "Enter numbers: \n"; for (int i = 0; i < SIZE; i++) cin >> arr[i]; for (int i = 0; i < SIZE; i++) c... Add solution
Best helpers
Kyle Smith
+5
JSanchez
+5
Larapsodia
+5
TJG
+5
Sharma Pocso
+5
Wilber82
+5
T-rex
+5
Seria Yin
+5
Winny
+5
Jlund3
+5
Laura Stiehl
+5
Sikku
+5
AlecPerkey
+5
The Alpha
+5
IQAndreas
+5
TeacherSue
+5
Doe John
+5
Wayno
+5