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
Dar
c1
silnia
ONP
Segment Tree
on_off
Synchro#1
Stream8
Full System Specifications
Palindromy