Functions in OOP | Sololearn: Learn to code for FREE!

+5

Functions in OOP

Can someone explain how the members work in a class? eg. why we use something different from cin and cout for reading or writing values?

3 Answers

New Answer

+5

Every object has properties and methods (something like unique IDs)...

+5

Yeah..but could you please elaborate on their syntax? Thanks!

+4

cin, cout writes only on the console