writeDictionary()

Writes the internal translation table to a file.

Synopsis

int writeDictionary(string filename);

Parameters

Parameter Description
filename File to write to

Return value

If successful 0, otherwise -1

Errors

missing or incorrect arguments

Description

Writes the internal translation table to the file filename.

Example

Writes the entire content of the dictionary to the file "c:/temp/dic.txt".

main()
{
  writeDictionary("c:/temp/dic.txt");
}

Assignment

Multi-language capability

Availability

CTRL