Timeline for Finding strings in a matrix
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 29, 2017 at 9:48 | vote | accept | yuri | ||
| May 24, 2017 at 8:58 | comment | added | yuri | I hope I implemented most of your advice. Keep in mind that I have never done operator overloading before so that part might be pretty bad. | |
| May 24, 2017 at 4:56 | comment | added | vnp | @Yuri (1) struct over class - no particular reason. (2) omitting return 0 is perfectly legal; no compiler shall ever complain. Both are just the matter of personal preference of an old schooler. | |
| May 23, 2017 at 21:36 | comment | added | yuri | Thanks for the answer. I will update my question as soon as I can. Two quick questions: - Is there a specific reason you recommend a struct over a class? - In another post I was told to leave return 0; out because it's implicit and the compiler does indeed not complain about it (with settings: -Wall -Wextra -pedantic -O2). I was not aware that this is a holy war issue. | |
| May 23, 2017 at 20:43 | history | answered | vnp | CC BY-SA 3.0 |