Mercurial > octave-nkf
view examples/code/helloworld.cc @ 20595:c1a6c31ac29a
eliminate more simple uses of error_state
* ov-classdef.cc: Eliminate simple uses of error_state.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 06 Oct 2015 00:20:02 -0400 |
parents | 2f8500ca91d3 |
children |
line wrap: on
line source
#include <octave/oct.h> DEFUN_DLD (helloworld, args, nargout, "Hello World Help String") { octave_stdout << "Hello World has " << args.length () << " input arguments and " << nargout << " output arguments.\n"; return octave_value_list (); }