Creating an Array: Difference between revisions

m
→‎{{header|C++}}: Added library templates
m (→‎{{header|Ada}}: I'll go through and change the Ada GCC links to point to the Ada compiler when I find out what it is.)
m (→‎{{header|C++}}: Added library templates)
Line 95:
int myArray2[10] = { 1, 2, 0}; /* 3..9 := 0 */
 
{{library|STL}}
'''Libraries:''' [[STL]]
// STL
std::vector<int> myArray3(10);
Line 101:
myArray3.push_back(2);
 
{{library|Qt}}
'''Libraries:''' [[Qt]]
// Qt
QVector<int> myArray4(10);
Line 107:
myArray4.push_back(2);
 
{{library|MFC}}
'''Libraries:''' [[Microsoft Foundation Classes]]
// MFC
CArray<int,int> myArray5(10);