Contents
Syntax
The syntax for
fstream definitions fstream(definitions) :=(fstream, definitions)
@fstream definitions @fstream(definitions) @:=(fstream, definitions)
Note: If you are using the first syntax for variable definitions and want to have more code and/or text following on the same line then simply end the definition with '
Description
The
Note: If you need to define thousands of variables then
Member functions
The following member functions are available for
| option | description |
|---|---|
| close | closes the file from reading and writing |
| open(path) | open a file to read from and write to |
| option | description |
Options
The following options are available for
| option | description |
|---|---|
| definition of a |
|
| define variable at layer |
|
| do not add member functions for variables | |
| definition of a |
|
| add |
|
| option | description |
f++ example
Examples of
int x
string str
fstream fs("input.txt")
read(fs, x, str)
getline(fs, str)
fs.close()
n++ example
Examples of
@int x
@string str
@fstream fs("input.txt")
@read(fs, x, str)
@getline(fs, str)
@fs.close()

![[ports] (FreeBSD) Get it from the FreeBSD [ports]](../../images/freebsd.webp)
