view examples/helloworld.cc @ 18843:2dcc4398950d stable

doc: Remove confusing extra 'summation' argument example to sparse(). * sparse.cc (Fsparse): Remove confusing extra 'summation' argument example from docstring.
author Rik <rik@octave.org>
date Wed, 04 Jun 2014 22:09:08 -0700
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 ();
}