Fortran: Difference between revisions

6 bytes added ,  13 July 2020
→‎C++ function: Use file template.
m (→‎C++ function: Fix syntax highlight.)
(→‎C++ function: Use file template.)
Line 8: Line 8:
=== C++ function ===
=== C++ function ===


{{Code|octave_file_io.cc: C++ function to load a matrix from an ASCII file in Octave native format|<syntaxhighlight lang="C++">
{{File|octave_file_io.cc|C++ function to load a single matrix, stored in ASCII format, from a data file.|<syntaxhighlight lang="C++">
// Octave header
// Octave header
#include <octave/oct.h>
#include <octave/oct.h>