The Micro C++ Library
samples/Sample.cxx File Reference
#include <micxx.hxx>
#include <iostream>

Functions

int main (int argc, const char *args[])

Function Documentation

int main ( int  argc,
const char *  args[] 
)
{
    try
    {
        __MICXXTRY__
        micxx::System system(argc, args);

        MICXX_DEBUG(MICXX_NORMAL, "8)");
        MICXX_DEBUG(MICXX_VERBOSE, "8))");
        MICXX_DEBUG(MICXX_TRACE, "8)))");
        MICXX_INFO(":)");
        MICXX_WARN(":|");
        MICXX_ERROR(":(");
        __MICXXEND__
    }
    catch (const micxx::Exception & exception)
    {
        std::cerr << exception << std::endl;
        return EXIT_FAILURE;
    }
    return EXIT_SUCCESS;
}