source: CIVL/examples/fortran/cv2018/hw/helloworld.c

main
Last change on this file was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 652 bytes
Line 
1/* Translated by f2c (version 20100827).
2 * You must link the resulting object file with libf2c
3 */
4
5#include "f2c.h"
6
7/* Table of constant values */
8
9static integer c__9 = 9;
10static integer c__1 = 1;
11
12/* Hello World in Fortran */
13/* Main program */ int MAIN__(void)
14{
15 /* Builtin functions */
16 integer s_wsle(cilist *), do_lio(integer *, integer *, char *, ftnlen),
17 e_wsle(void);
18
19 /* Fortran I/O blocks */
20 static cilist io___1 = { 0, 6, 0, 0, 0 };
21
22
23 s_wsle(&io___1);
24 do_lio(&c__9, &c__1, "Hello World!", (ftnlen)12);
25 e_wsle();
26 return 0;
27} /* MAIN__ */
28
29/* Main program alias */ int hw_ () { MAIN__ (); return 0; }
Note: See TracBrowser for help on using the repository browser.