Mercurial > hg > octave-nkf
view examples/helloworld.cc @ 15517:3f1b306e2ba9
rgbplot: return graphics handle if requested
author | Carnë Draug <carandraug+dev@gmail.com> |
---|---|
date | Sat, 13 Oct 2012 21:53:21 +0200 |
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 (); }