view examples/helloworld.cc @ 18174:b72bcf5f78cc stable release-3-8-0

Version 3.8.0 released. * configure.ac (OCTAVE_VERSION): Now 3.8.0. (OCTAVE_RELEASE_DATE): Now 2013-12-27.
author John W. Eaton <jwe@octave.org>
date Fri, 27 Dec 2013 16:59:04 -0500
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 ();
}