Mercurial > octave-nkf
annotate examples/helloworld.cc @ 12254:23385f2c90b7 release-3-4-x
whitespace fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 26 Jan 2011 23:49:42 -0500 |
parents | 4295d634797d |
children | be41c30bcb44 |
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 (); | |
12254 | 7 octave_stdout << "Hello World has " << nargin |
6572 | 8 << " input arguments and " |
9 << nargout << " output arguments.\n"; | |
10 return octave_value_list (); | |
11 } |