view examples/helloworld.cc @ 17675:4e5c17b3294a

line-continue.tst: Remove incorrect test for line continuation in single-quoted string. * test/line-continue.tst: Remove incorrect test for line continuation in single-quoted string.
author Rik <rik@octave.org>
date Thu, 17 Oct 2013 10:44:36 -0700
parents be41c30bcb44
children 224e76250443
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 ();
}