Mercurial > hg > octave-nkf
view examples/helloworld.cc @ 19785:722ff3e45bea gui-release
build: Don't build GUI when OpenGL is disabled or not found (bug #44017)
* configure.ac: Disable building the GUI when OpenGL libraries are not found
or are intentionally disabled.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Sun, 18 Jan 2015 17:53:41 -0500 |
parents | 224e76250443 |
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 (); }