What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-12 06:41:09
how to read an entire text file from c program
.wp-block-code { border: 0; padding: 0; } .wp-block-code > div { overflow: auto; } .shcb-language { border: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden... Add solution -
C++ 2021-10-08 12:11:05
vector in c++
// CPP program to create an empty vector // and push values one by one. #include <vector> using namespace std; int main() { // Create an empty vector vector<int> vect; &n... Add solution -
C++ 2021-10-07 13:23:05
how to make a vector in c++
// CPP program to create an empty vector // and push values one by one. #include <vector> using namespace std; int main() { // Create an empty vector vector<int> vect; &n... Add solution -
Other 2021-10-07 11:43:05
input formatting
1/* Test Formatting Input (TestFormattedInput.cpp) */ #include <iostream> #include <iomanip> #include <string> using namespace std; int main() { string areaCode, phoneCode; string inStr; cout << "Enter your phone ... Add solution -
Other 2021-10-02 22:46:02
n/3 number appears in array elements
// CPP program to find if any element appears // more than n/3. #include <bits/stdc++.h> using namespace std; int appearsNBy3(int arr[], int n) { int count1 = 0, count2 = 0; int first=INT_MAX , second=INT_MAX ; for (int i = 0; i < n;... Add solution -
C++ 2021-10-02 15:19:04
grocery shopping list c++ chegg
// CPP code is Paste here and File cannot be uploaded //Purpose of Program is to add item of grocery list and add tip and checking Shipping cost #include <iostream> using namespace std; int main() { int item=0; float Milk=5.99; float Egg = 6.99; flo... Add solution -