# proto/Source/main.cpp File Reference

The PACE main file. More...

`#include <cstdlib>`
`#include <string>`
`#include <iostream>`
`#include "config.h"`
`#include "init.h"`
`#include "notifier.h"`
`#include "params.h"`
`#include "processor.h"`
`#include "writer.h"`

## Functions
void | exit_failure (void)
| Function to be called to terminate program abnormally (due to fatal errors).
int | main (int argc, char **argv)
| Program main function.

## Detailed Description

The PACE main file.

See params.cpp for all accepted parameters.

(C) Ceslav Przywara 2008, MFF UK Prague

## Function Documentation

void exit_failure | ( | void |  | ) |

Function to be called to terminate program abnormally (due to fatal errors).

int main | ( | int | argc,
|  | char ** | argv |
| ) |  |  |

Program main function.

Parameters:

  | argc | Number of parameters passed to program.
  | argv | Values of parameters passed to program.

Returns:
  0, if program exits successfully, non-zero otherwise.