//
// Created by admarkov on 22.04.17.
//

#ifndef FUNC_COMPOSER_FRAME_H
#define FUNC_COMPOSER_FRAME_H

#include <string>
typedef unsigned int index;

void crash(char info[]="") {
    puts("Fatal error.");
    exit(0);
}

#endif //FUNC_COMPOSER_FRAME_H

//
// Created by admarkov on 22.04.17.
//

#ifndef FUNC_COMPOSER_FRAME_H
#define FUNC_COMPOSER_FRAME_H

#include <string>
using namespace std;

typedef unsigned int index;

void crash(string info="No information.") {
    puts("Fatal error: "+info);
    exit(0);
}

#endif //FUNC_COMPOSER_FRAME_H

Add error output for crash()
Add error output for crash()
