after input a number in class how do i use the previous class value in new same class in c++ code example
Example: c++ public class declaration
class class_name {
access_specifier_1:
member1;
access_specifier_2:
member2;
...
} object_names;