0
Q:

yt

think twice, You can be trapped for couple of hours instead of coding
138
//Are you trying to procrastinate? Go back to coding
238
the red pill or the blue pill

the red pill sends you to youtube for eternity, no escape
the blue pill the same as the red pill, but blue...

you already looked up youtube, it is to late, sorry.


                                 _____  _____
                                <     `/     |
                                 >          (
                                |   _     _  |
                                |  |_) | |_) |
                                |  | \ | |   |
                                |            |
                 ______.______%_|            |__________  _____
               _/                                       \|     |
              |               you looking up youtube           <
              |_____.-._________              ____/|___________|
                                |            |
                                |            |
                                |            |
                                |            |
                                |   _        <
                                |__/         |
                                 / `--.      |
                               %|            |%
                           |/.%%|          -< @%%%
                           `\%`@|     v      |@@%@%%    ascii credit to - mfj
                         .%%%@@@|%    |    % @@@%%@%%%%
                    _.%%%%%%@@@@@@%%_/%\_%@@%%@@@@@@@%%%%%%
33
That's what you are looking for: https://www.youtube.com/watch?v=oHg5SJYRHA0
37
use it for educational purposes, and a little entertainment purpose,too much youtube is time waste
19
Dont stop coding man
1
Just brackeys....
28
go back to online school
21
down the rabbit hole you go
21
// CPP program to illustrate 
// Operator Overloading 
#include<iostream> 
using namespace std; 
   
class Complex { 
private: 
    int real, imag; 
public: 
    Complex(int r = 0, int i =0)  {real = r;   imag = i;} 
       
    // This is automatically called when '+' is used with 
    // between two Complex objects 
    Complex operator + (Complex const &obj) { 
         Complex res; 
         res.real = real + obj.real; 
         res.imag = imag + obj.imag; 
         return res; 
    } 
    void print() { cout << real << " + i" << imag << endl; } 
}; 
   
int main() 
{ 
    Complex c1(10, 5), c2(2, 4); 
    Complex c3 = c1 + c2; // An example call to "operator+" 
    c3.print(); 
} 
0

New to Communities?

Join the community