Mercurial > octave-nkf
view examples/helloworld.cc @ 15875:c18692212b90
configure.ac: Simplify test for math library.
configure.ac: AC_CHECK_LIB test for math lib no longer requires
explicitly including libc as it did on 1/20/1999 when this
part of configure.ac was written.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 02 Jan 2013 17:15:57 -0800 |
parents | db1f49eaba6b |
children | be41c30bcb44 |
line wrap: on
line source
#include <octave/oct.h> DEFUN_DLD (helloworld, args, nargout, "Hello World Help String") { int nargin = args.length (); octave_stdout << "Hello World has " << nargin << " input arguments and " << nargout << " output arguments.\n"; return octave_value_list (); }