What do you want to save?
Add Code snippet
New code examples in category C++
-
Programmer one 2021-08-27 10:17:02
fast i/o in c++
ios_base::sync_with_stdio(false); cin.tie(NULL); Add solution -
SHREE6174 2021-08-27 07:11:01
all trigonometric functions with complex numbers in c/c++
#include "stdafx.h" #include "calc.h" double INF = DBL_MAX; double mINF = INF * -1; void cotan(double x, double y) { resultR = 0; resultI = 0; if (x >= mINF && x <= INF && y >= mINF && y <= INF)... Add solution -
Valeriia Panina 2021-08-26 13:02:03
c++ power of a number
#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 << &qu... Add solution
Best helpers
Meredithob
+5
Haejin Lee
+5
Terry claw
+5
Bryan Pettit
+5
Root
+5
Orgillion
+5
Barrie
+5
Victor Engel
+5
Muazam
+5
Rohan Wagle
+5
DanH
+5
Mujah_d
+5
Soks
+5
Bhavya PH
+5