Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Testing C++
#include <iostream> using namespace std; // Playing around with classes :/ class idkClass{ public: int add(int x, int y){ return x + y; } private: // Just trying to create good habbits int num1; int num2; }; int main() { idkClass cmd; cout << cmd.add(7, 1) << endl; cout << "Hello, world!\n"; }
run
|
edit
|
history
|
help
0
temporaries and move constructor
extern
Dij. Algo
newwork
MergeDoubLinArr
Sortowanie przez scalanie
Left view of a tree
pbds
Anagram finder
NumberToWords