Untitled

mail@pastecode.io avatar
unknown
plain_text
18 days ago
248 B
0
Indexable
Never
// Method to return a string representation of the student
    std::string to_string() const {
        std::stringstream str;
        str << age << "," << first_name << "," << last_name << "," << standard;
        return str.str();
    }
};
Leave a Comment