Overview




Document: The safe-c User Guide

next Constants and Data Types
up The safe-c User Guide
gif Using safe-c

Overview

safe-c introduces three distinct data types. A data type is a particular format for storing information of some particular kind. The three safe-c data types are:

safe-c provides functions - or "subprograms" if you like - to carry out various standard manipulations on objects of these standard types. Specifically, there are functions to display strings in the MS-DOS window, and to read strings in from the keyboard; and to convert between string representations and the internal binary representations of boolean_type, integer_type and floating_point_type. In this way, objects of these types can be read in from the keyboard (as string_type), converted to one of the internal binary representations, operated upon in any appropriate way (i.e. performing boolean or arithmetic operations) and the results can be displayed again.




Document: The safe-c User Guide

next Constants and Data Types
up The safe-c User Guide
gif Using safe-c



McMullin@eeng.dcu.ie
Fri Jan 12 12:30:02 GMT 1996