What do you want to save?
Add Code snippet
New code examples in category C++
-
Amanda thompson 2021-09-01 00:39:01
c++ power
#include <iostream> #include <cmath> using namespace std; int main () { double base, exponent, result; base = 3.4; exponent = 4.4; result = pow(base, exponent); cout << base << "^" << exponent <&l... Add solution -
Faaiz Ali 2021-08-31 22:48:01
initialize many variablles c++
int column = 0, row = 0, index = 0; Add solution -
JeremyKun 2021-08-31 20:07:02
c++ sum of even and odd numbers
//given the fact that it takes n of number void sumEvenAndOdd(){ int n=0 , evenSum=0 , oddSum=0; int numbers[Size]; cout<<"enters the number(N) of integers\n"; cin>>Size; cout<<"Enter "<<Siz... Add solution -
RlonRyan 2021-08-31 18:20:01
passing the value to base class constructor from derived class c++
#include <iostream> #include<string> using namespace std; class Father{ protected: int height; public: Father(){ cout << "constructor of father is called"<<endl; } }; class Mother{ protected: strin... Add solution -
Bootleg 2021-08-31 16:35:03
how to arrange array in ascending order in c++\
#include <iostream> using namespace std; #define MAX 100 int main() { //array declaration int arr[MAX]; int n,i,j; int temp; //read total number of elements to read cout<<"Enter total number of elements to read: "; cin>... Add solution -
Ronno 2021-08-31 15:08:02
ue4 on property changed
//for regular properties: void ACustomClass::PostEditChangeProperty(struct FPropertyChangedEvent& e) { FName PropertyName = (e.Property != NULL) ? e.Property->GetFName() : NAME_None; if (PropertyName == GET_MEMBER_NAME_CHECKED(UCustomClas... Add solution -
Best helpers
Lim
+5
Brenten1
+5
NullPointer
+5
Sg qy
+5
Bryce Wagner
+5
Lara
+5
TheBeege
+5
JCM
+5
Dasedes
+5
Mark Walsh
+5
Adb
+5
Chd
+5
Skout
+5