jburkardt

ALLOCATABLE_ARRAY\ Allocatable Arrays as Output Arguments {#allocatable_array-allocatable-arrays-as-output-arguments align=”center”} ======================================


ALLOCATABLE_ARRAY is a C++ program which demonstrates how a main program can declare an allocatable array, which is then passed to a subroutine which allocates it, initializes it, and returns it to the calling program for further use.

Licensing: {#licensing align=”center”}

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages: {#languages align=”center”}

ALLOCATABLE_ARRAY is available in a C version and a C++ version and a FORTRAN90 version.

CPP, C++ programs which illustrate some of the features of the C programming language.

CPP_ARRAYS, C++ programs which illustrate the use of vectors, matrices and tensors.

Examples and Tests: {#examples-and-tests align=”center”}

You can go up one level to the C++ source codes.


Last revised on 25 February 2014.