In file input.h:

int64 cnc_long

()

Read a concatenated 64-bit integer.

Documentation

Read a concatenated 64-bit integer.

Parses a concatenated 64-bit signed integer. Consecutive integers are, of course, space-delimited. The function knows about this (it uses sscanf() to the dirty work).

The nomenclature was inspired from the Major BBS, which was 16-bit. There, ints were 16 bits long (eurgh) and longs were a nice 32 bits. We go a bit further and read 64-bit `longs'.

Returns:
The integer read from the concatenated commands. Zero (
0
) is returned if there was a parse error. This is a bug, and should be rectified.

Alphabetic index



This page was generated with the help of DOC++.