Mercurial > octave-nkf
view examples/helloworld.cc @ 18509:1075f2543574 gui-release
* configure.ac: Define list of Qt modules once.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 21 Feb 2014 14:57:44 -0500 |
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 (); }