annotate examples/helloworld.cc @ 9053:4295d634797d
remove copyright notices from example files
author |
John W. Eaton <jwe@octave.org> |
date |
Sat, 28 Mar 2009 11:26:27 -0400 |
parents |
503001863427 |
children |
db1f49eaba6b |
rev |
line source |
6572
|
1 #include <octave/oct.h> |
|
2 |
|
3 DEFUN_DLD (helloworld, args, nargout, |
|
4 "Hello World Help String") |
|
5 { |
|
6 int nargin = args.length (); |
|
7 octave_stdout << "Hello World has " << nargin |
|
8 << " input arguments and " |
|
9 << nargout << " output arguments.\n"; |
|
10 return octave_value_list (); |
|
11 } |