cpp:class_templates
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
cpp:class_templates [2019/05/04 04:28] – [Ένα πιο σύνθετο παράδειγμα] gthanos | cpp:class_templates [2019/05/04 04:32] – [Ένα πιο σύνθετο παράδειγμα] gthanos | ||
---|---|---|---|
Line 146: | Line 146: | ||
</ | </ | ||
+ | <code cpp ArrayUsage.cpp> | ||
+ | #include " | ||
+ | #define ARRAY_SIZE 10 | ||
+ | using namespace std; | ||
+ | |||
+ | int main() { | ||
+ | Array< | ||
+ | for(int i=0; i< | ||
+ | a[i] = i; | ||
+ | | ||
+ | cout << a << endl; | ||
+ | | ||
+ | Array< | ||
+ | | ||
+ | } | ||
+ | </ |
cpp/class_templates.txt · Last modified: 2020/05/25 06:52 (external edit)