view examples/helloworld.cc @ 17492:4f1d827e1302

doc: Add to documentation for gca, gcf. * scripts/plot/gca.m, scripts/plot/gcf.m: Add to documentation.
author Rik <rik@octave.org>
date Wed, 25 Sep 2013 08:53:34 -0700
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 ();
}