What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-09-27 14:42:03
stack implementation c++
#include <iostream> using namespace std; int stack[100], n=100, top=-1; void push(int val) { if(top>=n-1) cout<<"Stack Overflow"<<endl; else { top++; ... Add solution -
C++ 2021-09-27 00:29:05
Write a loop to read n strings (containing no white space) from the keyboard and store them in the vector v.
for (int i = 0; i < n; i++) { cin >> s; // NOTE: You cannot use push_back() here because // the vector has been pre-allocated and pre-initialized v[i] = s; } Add solution -
Other 2021-09-26 09:04:02
SSRS export to xlsx is corrupt
/* No need to put the .rdl ext after the report name */ execInfo = reportService.LoadReport("/PathToRDL/RDL_Report", historyID); /* Ensure you have all the parameters set required by the report */ reportService.SetExecutionParameters(Parameters,... Add solution -
C++ 2021-09-26 05:15:06
iostream library in cpp
// iostream_cerr.cpp // compile with: /EHsc #include <iostream> #include <fstream> using namespace std; void TestWide( ) { int i = 0; wcout << L"Enter a number: "; wcin >> i; wcerr << L"test for w... Add solution -
Other 2021-09-26 00:51:04
typing arrays
// Arrays are variables containing multiple pieces of data. myArray = ["value1", 2, 3, "insert fourth value here"]; // To retrieve data, you reference them via index numbers. // KEEP IN MIND that when referencing array values, index ... Add solution -
Other 2021-09-25 23:00:02
lorem ipsum text
Lorem ipsum dolor sit amet consectetur adipisicing elit. Maxime mollitia, molestiae quas vel sint commodi repudiandae consequuntur voluptatum laborum numquam blanditiis harum quisquam eius sed odit fugiat iusto fuga praesentium optio, eaque rerum! Provide... Add solution
Best helpers
Ranking is empty