view examples/helloworld.cc @ 14287:2f902bf44669 gui

Sending commands to the terminal from doubleclicking the history, loading and saving workspaces as well as clearing the workspace works again. * MainWindow.cpp: Commented in the appropriate sendText method calls.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Tue, 31 Jan 2012 00:03:44 +0100
parents db1f49eaba6b
children
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 ();
}