DixShtix

com.dixshtix.riff
Class ExampleHello

java.lang.Object
  |
  +--com.dixshtix.riff.ExampleHello

public class ExampleHello
extends java.lang.Object

The "hello world" program written using RIFFIO.

SYNOPSIS

hello

DESCRIPTION

Write the message "hello world" to its standard output. We won't be creating a RIFF file but we will demonstrate the RIFFIO interface.

In other words, this program is a horrible abuse of an API.

BUGS

Many RIFFIO functions return a zero RIFFIOSuccess value on failure. The following examples ignore this result value for brevity. Any real program does so at its own risk.

We will be linking to the RIFFIO and STDCRIFF libraries, so include their header files.


Field Summary
static java.lang.String rcsid
          Information about the source of this file.
 
Constructor Summary
ExampleHello()
           
 
Method Summary
static void main(java.lang.String[] args)
          Toy program which ignores arguments.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

rcsid

public static java.lang.String rcsid
Information about the source of this file.
Constructor Detail

ExampleHello

public ExampleHello()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Toy program which ignores arguments.

DixShtix