view examples/helloworld.cc @ 11347:2726132f77f6

sqp.m: Remove never violated Inf bounds from computation (bug #31742)
author Rik <octave@nomad.inbox5.com>
date Mon, 13 Dec 2010 10:06:17 -0800
parents 4295d634797d
children db1f49eaba6b
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 ();
}