view examples/myhello.c @ 18954:c6b89c4a9e63 gui-release

Swap Ctrl and Meta in Qscintilla shortcut list for mac (bug #41217) * octave-qscintilla.cc (octave_qscintilla::octave_qscintilla): under mac platform, manually swap Ctrl an Meta modifers in Qscintilla's shortcut list, in order to conform to octave settings.
author pantxo <pantxo.diribarne@gmail.com>
date Wed, 23 Jul 2014 08:52:42 +0200
parents be41c30bcb44
children
line wrap: on
line source

#include "mex.h"

void
mexFunction (int nlhs, mxArray *plhs[],
             int nrhs, const mxArray *prhs[])
{
  mexPrintf ("Hello, World!\n");

  mexPrintf ("I have %d inputs and %d outputs\n", nrhs, nlhs);
}