Mercurial > octave-dspies
view examples/helloworld.cc @ 18975:c59745865c7f gui-release
maint: Periodic merge of stable to gui-release.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 01 Aug 2014 09:06:21 -0400 |
parents | 224e76250443 |
children |
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 (); }