Dangerous Pointer
Loading...
Searching...
No Matches
main.cpp File Reference
#include <cassert>
#include <iostream>
#include <numeric>
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

void init_Carray (int n, double *x)
 Initializes a dynamic C array.
 
void print_Carray (int n, double const x[])
 Print a dynamic C array into the console.
 
int main ()
 

Function Documentation

◆ init_Carray()

void init_Carray ( int  n,
double *  x 
)

Initializes a dynamic C array.

Parameters
[in]nnumber of elements
[in,out]xarray

Definition at line 16 of file main.cpp.

Here is the caller graph for this function:

◆ main()

int main ( )

Definition at line 41 of file main.cpp.

Here is the call graph for this function:

◆ print_Carray()

void print_Carray ( int  n,
double const  x[] 
)

Print a dynamic C array into the console.

Parameters
[in]nnumber of elements
[in]xarray

Definition at line 29 of file main.cpp.

Here is the caller graph for this function: