Creating an Array: Difference between revisions
Content added Content deleted
m (→{{header|C++}}: Added some C++ details) |
(→{{header|C++}}: Works with any compiler compliant with any version of the C++ standard) |
||
Line 124: | Line 124: | ||
=={{header|C++}}== |
=={{header|C++}}== |
||
{{works with|g++}} |
|||
{{works with|Visual C++}} |
|||
{{works with|BCC}} |
|||
{{works with|Watcom}} |
|||
Using dynamically-allocated (i.e. [[Heap]]) memory: |
Using dynamically-allocated (i.e. [[Heap]]) memory: |
||
const int n = 10; |
const int n = 10; |