What do you want to save?
Add Code snippet
New code examples
-
C++ 2022-02-02 23:16:49
cpp nan value
What is NaN ? NaN, acronym for “Not a Number” is an exception which usually occurs in the caseswhen an expression results in a number that can’t be represented. For example square root of negative numbers. // C++ code to demonstrat... Add solution -
C++ 2022-02-02 21:51:57
pointer in cpp details
Every object in C++ has access to its own address through an important pointer called this pointer. The this pointer is an implicit parameter to all member functions. Therefore, inside a member function, this may be used to refer to the invoking object... Add solution -
-
C++ 2022-01-26 05:51:41
what is a .cpp file
A .CPP file is a file that contains C++ code. Add solution -
C++ 2022-01-24 03:50:27
how to compare the biggest node with the same level BST node c++
// C++ program to find largest // value on each level of binary tree. #include <bits/stdc++.h> using namespace std; /* A binary tree node has data, pointer to left child and a pointer to right child */ struct Node { int val; struct Node *left, *r... Add solution -
C++ 2022-01-23 10:55:18
calculator with c++
// This is for beginners #include <iostream> using namespace std; void greetings() { cout << "welcome to the calculator made in c++ :D\n"; } void instructions() { cout << "Here is the operators you can use + - ... Add solution