Mercurial > octave-nkf
view examples/code/helloworld.cc @ 20269:3ccc2d02e64b stable release-4-0-0
Version 4.0.0 released.
* configure.ac (OCTAVE_VERSION): Now 4.0.0.
(OCTAVE_MAJOR_VERSION): Now 4.
(OCTAVE_MINOR_VERSION): Now 0.
(OCTAVE_PATCH_VERSION): Now 0.
(OCTAVE_RELEASE_DATE): Set to 2015-05-23.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 23 May 2015 10:35:40 -0400 |
parents | c8240a60dd01 |
children | 2f8500ca91d3 |
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 (); }