cpp:templates
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cpp:templates [2019/05/14 10:24] – gthanos | cpp:templates [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 29: | Line 29: | ||
| friend std:: | friend std:: | ||
| bool operator> | bool operator> | ||
| + | bool operator< | ||
| Student& | Student& | ||
| }; | }; | ||
| Line 96: | Line 97: | ||
| 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/templates.1557829493.txt.gz · Last modified: 2019/05/14 09:24 (external edit)
