Mercurial > hg > octave-lyh
view examples/helloworld.cc @ 17296:88a6f2f540ad
io.tst: Condition load-save test on HAVE_ZLIB
* test/io.tst: Condition load-save test on HAVE_ZLIB since testls tests
file formats that require zlib compression.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Tue, 20 Aug 2013 09:48:52 -0400 |
parents | be41c30bcb44 |
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 (); }