view examples/helloworld.cc @ 15881:20d506e155cf

Added tag ss-3-7-1 for changeset df1aceb8f0bc
author John W. Eaton <jwe@octave.org>
date Thu, 03 Jan 2013 01:56:54 -0500
parents db1f49eaba6b
children be41c30bcb44
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 ();
}