cpp:stl:intro
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
cpp:stl:intro [2023/05/29 16:15] – [Η κλάση Student] gthanos | cpp:stl:intro [2023/05/30 11:02] – [Η κλάση Student] gthanos | ||
---|---|---|---|
Line 26: | Line 26: | ||
friend std:: | friend std:: | ||
bool operator> | bool operator> | ||
+ | bool operator< | ||
Student& | Student& | ||
}; | }; | ||
Line 73: | Line 74: | ||
bool Student:: | bool Student:: | ||
if(aem > st.aem) | if(aem > st.aem) | ||
+ | return true; | ||
+ | return false; | ||
+ | } | ||
+ | |||
+ | bool Student:: | ||
+ | if(aem < st.aem) | ||
return true; | return true; | ||
return false; | return false; |
cpp/stl/intro.txt · Last modified: 2023/05/30 18:30 by gthanos