Prev: histograming.html Up Next: cint.html
Compiling and linking with blop

Practical Guide:
// to set the warning messages' format:
warning::prompt("BLOP:");
warning::format("%p  %m   \n[warning originates from function: %f]\n");

   // %p is replaced with the prompt
   // %m is replaced with the message itself
   // %f is replaced with the function name, where the warning
   //    originates from

Currently, the format of the warning messages is controlled by the above mechanism only at a few places, but slowly the format of all warning messages will be controlled by it.

The above example is self-explanatory, I believe.


Source files:
    warning.h
    warning.cc

Prev: histograming.html Up Next: cint.html