Algorithmic Solutions > LEDA > LEDA Guide > Simple, Basic, and Advanced Data Types > Simple Data Types > Files and Directories

Files and Directories

Application programs often need to read their input from a file and write their output to a file. It should be possible to select the files, change the working directory, and so on, over a menu. The header file <LEDA/system/file.h> declares functions, like

string get_directory()

list<string> get_files(string dir)

create_directory(string fname)

bool delete_file(string fname)

and many more, to work with files and directories conveniently.

See also:

Manual Page Files and Directories




Please send any suggestions, comments or questions to leda@algorithmic-solutions.com
© Copyright 2001-2003, Algorithmic Solutions Software GmbH