var fDesc=new Array();
fDesc[0] = "CPCC is a minimal library of C++ classes.
Among others, it contains:
- a portable file system class a path helper class - allows manipulation of file paths
- a screensaver interface class
- a persistent settings class (similar to INI files)
- a portable color class
- a window class with simple drawing functions
- a time counter class a
- self-test class (allows you to run tests against your code, with minimal programming overhead).
Every class can contain its self-test code, which is executed without extra tools of unit-testing libraries.";
function tShowHide(id, show)
{
var s = document.getElementById("desc");
if ((s.innerHTML.length<=212 || show==1) && show!=2)
{
s.innerHTML = fDesc[id];
if (document.getElementById('m1'))
document.getElementById('m1').style.display='none';
if (document.getElementById('m2'))
document.getElementById('m2').style.display='none';
if (document.getElementById('more_txt'))
document.getElementById('more_txt').style.display='inline';
}
else
{
s.innerHTML = '';
}
}