#include "ghit.h"
#include "chit.h"
+using namespace std;
+
int main(void) {
const string indent = " ";
Hash vars;
cout << "=============" << endl;
vars["NOMBRE"] = "Pedro";
vars["EDAD"] = "26";
- GHIT g;
+ GHIT g("./././");
cout << "We are using the default group: '" << g.getGroup() << "'." << endl;
cout << indent << g.parse("test", vars) << endl;
g.pushGroup("tpldir");
cout << "CHIT example:" << endl;
cout << "=============" << endl;
- CHIT c;
+ CHIT c("././././././", ".tpl.html");
const int n = 65;
for (int i = n; i < (n+10); i++) {
stringstream ssi, ssc;