view examples/helloworld.cc @ 17507:89ffc9c786e5

sombrero.m: Return meshgridded x,y rather than vectors. * scripts/plot/sombrero.m: Return meshgridded x,y rather than vectors so that behavior is the same as peaks().
author Rik <rik@octave.org>
date Wed, 25 Sep 2013 13:46:09 -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 ();
}