Mercurial > octave-nkf
view examples/helloworld.cc @ 14674:252a86f8fe62 gui
Restructured source files.
* FileEditor: Moved into editor/.
* lexeroctavegui: Moved into editor/.
* src.pro: Corrected source file entries according to the changes made.
* MainWindow.h: Corrected includes.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Wed, 23 May 2012 10:50:08 +0200 |
parents | db1f49eaba6b |
children | be41c30bcb44 |
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 (); }