#include "error.h"
#include <iostream>
using namespace std;
void main()
{
int n;
n = error("helloworld");
cout << "\t" << n << endl;
n = error("hellowor%cd", 'l');
cout << "\t" << n << endl;
n = error("hello%s", "world");
cout << "\t" << n << endl;
n = error("hello%s%c%c","wor", 'l','d');
cout << "\t" << n << endl;
n = error("%d%c%c%d%s", 2, '0', '1', 7, " ");
cout << "\t" << n << endl;
n = error("%s", NULL);
cout << "\t\t" << n << endl;
}