/* mainf.f -- translated by f2c (version 20030320). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include " /* Table of constant values */ static integer c__9 = 9; static integer c__1 = 1; /* * *************************************************************************** * PUNC = < Portable Understructure for Numerical Computing > * Copyright (C) 1994-- Michael Holst * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * rcsid="$Id: mainc.c,v 1.7 2010/08/12 05:52:57 fetk Exp $" * *************************************************************************** */ /* * *************************************************************************** */ /* * File: mainf.f */ /* * */ /* * Purpose: Driver program for testing the VF2C. */ /* * */ /* * Author: Michael Holst */ /* * *************************************************************************** */ /* Main program */ int MAIN__(void) { /* Builtin functions */ integer s_wsle(cilist *), do_lio(integer *, integer *, char *, ftnlen), e_wsle(void); /* Subroutine */ int s_stop(char *, ftnlen); /* Fortran I/O blocks */ static cilist io___1 = { 0, 6, 0, 0, 0 }; s_wsle(&io___1); do_lio(&c__9, &c__1, "Hello, Word!", (ftnlen)12); e_wsle(); s_stop("", (ftnlen)0); return 0; } /* MAIN__ */ /* Main program alias */ int main () { MAIN__ (); return 0; }