What do you want to save?
Add Code snippet
New code examples in category C++
-
Fuzzbean 2021-08-29 06:16:01
3x3 matrix multiplication in c++
#include <iostream> using namespace std; int main() { int a[10][10], b[10][10], mult[10][10], r1, c1, r2, c2, i, j, k; cout << "Enter rows and columns for first matrix: "; cin >> r1 >> c1; cout << ... Add solution -
Arindom 2021-08-29 02:47:01
c++ calculator script
#include <iostream> using namespace std; int main() { cout << "Welcome to the Calculator, write :cancel: to cancel the calculator\n"; string cancel; while(cancel != "cancel") { int number1 = 0; int number2 =... Add solution -
Captain Lepton 2021-08-28 10:01:01
print all file names in directory cpp
#include <string> #include <iostream> #include <filesystem> namespace fs = std::filesystem; int main() { std::string path = "/path/to/directory"; for (const auto & entry : fs::directory_iterator(path)) std:... Add solution
Best helpers
Tim7823
+5
Bumba Clat
+5
Cold Brain
+5
Relle
+5
Stephen Raj
+5
Bryzzeij
+5
Dubuisso
+5
Jihed gasmi
+5
C-Kennelly
+5
Fame Whiz
+5
Xiaoyaolnm
+5
Dee doo
+5
David Wilson
+5