Fortran: Difference between revisions

Jump to navigation Jump to search
(→‎C++ function: Update function to work with Octave 5.2.0+)
m (→‎C++ function: Fix syntax highlight.)
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="CC">
{{Code|octave_file_io.cc: C++ function to load a matrix from an ASCII file in Octave native format|<syntaxhighlight lang="C++">
// Octave header
// Octave header
#include <octave/oct.h>
#include <octave/oct.h>