Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 803
News FAQ
Search Home


next up previous contents index
Next: The main program Up: Introduction to Programming for AIPS++ Previous: Second Version

An advanced example

The following program is meant to illustrate some further features of the AIPS++ system. In particular, we will show a program that was used to test the development of two functions which read and write an ASCII file. The file is expected to contain a 2-dimensional array (of any rectangular dimensions) of numbers and place the values it contains (regardless of type) into a matrix.

The work will be described in three parts - which correspond to the three directories that should be used for this type of work. They are:

  1. The directory in which the main routine is composed and compiled. This is the one that has been used in previous examples. It is: ~/aips/code/aips/test.

  2. A directory in which the .h file is defined. This is: ~/aips/code/aips/include.

  3. A directory in which the functions are composed and compiled. This one also will contain a private library which will be searched automatically by the gmake process. This one is: ~/aips++/code/aips/implement.



Subsections
next up previous contents index
Next: The main program Up: Introduction to Programming for AIPS++ Previous: Second Version   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2004-08-30