cpp:basic_data_types
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
cpp:basic_data_types [2019/04/12 08:37] – [Αυτόματη εξαγωγή τύπου δεδομένων] gthanos | cpp:basic_data_types [2021/04/25 14:37] – [Δήλωση και αρχικοποίηση μεταβλητών] gthanos | ||
---|---|---|---|
Line 50: | Line 50: | ||
int b(3); // initial value: 3 | int b(3); // initial value: 3 | ||
int c{2}; // initial value: 2 | int c{2}; // initial value: 2 | ||
- | int result; | + | |
a = a + b; | a = a + b; | ||
- | | + | |
- | cout << | + | b = a - c; |
+ | cout << | ||
return 0; | return 0; |
cpp/basic_data_types.txt · Last modified: 2021/04/25 14:02 (external edit)