natefw

natefw Mercurial Source Tree


Root/src/main.cpp

#include <iostream>
#include <memory>
#include "nfw.h"
 
using namespace std;
 
int main(int argc, char *argv[])
{
    auto_ptr<nfw> nfwvar(new nfw(argc, argv));
    if (nfwvar->isValid())
    {
        return 0;
    } else {
        cout << "Invalid rule!" << endl;
        cout << nfwvar->getFalidRule() << endl;
        return 1;
    }
}

Archive Download this file

Branches

Tags

Page rendered in 1.33178s using 11 queries.