Message from C, C++ talks

June 2019

— Did it work?

— No

— Ye, don't need return :D

— 👍

— 

Little question :

i changed swap function from void to int.

first : i can return 2 variables ( x, y ) ?

next : when i return them , x and y of main function will changed ?

— Don't do so many ops

— U don't need it

— I started love this cat

— At a time, no! But if you use reference, then you can.

— What do u mean reference ?

— U are operating with values in main, not with their copies in func

— Yes, finally.

— U also can use pointers, but refs are better

— Not much for the time being.

— Too early for him ? :D