cpp:function_try_blocks
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
cpp:function_try_blocks [2019/05/15 08:24] – [Function Try Blocks] gthanos | cpp:function_try_blocks [2019/05/15 08:28] – [Exception που συμβαίνουν στον κατασκευαστή της προγόνου κλάσης] gthanos | ||
---|---|---|---|
Line 170: | Line 170: | ||
</ | </ | ||
- | Εάν επιθυμούμε να " | + | Εάν επιθυμούμε να " |
<code cpp Student.hpp> | <code cpp Student.hpp> | ||
Line 188: | Line 188: | ||
</ | </ | ||
- | Η παραπάνω σύνταξη επιτρέπει να πιάσουμε το exception που συμβαίνει στον κατασκευαστή της προγόνου κλάσης. Και εδώ το // | + | Η παραπάνω σύνταξη επιτρέπει να πιάσουμε το exception που συμβαίνει στον κατασκευαστή της προγόνου κλάσης. Και εδώ το // |
+ | |||
+ | <WRAP tip 80% center round> | ||
+ | Παρατηρήστε ότι δεν εκτυπώνεται ποτέ το μήνυμα **" | ||
+ | </ | ||
Η μέθοδος //main// δίνεται παρακάτω: | Η μέθοδος //main// δίνεται παρακάτω: |
cpp/function_try_blocks.txt · Last modified: 2022/05/23 06:05 by gthanos