Displaying information about the system
const char *yn(bool b)
{
return (b ? "yes" : "no");
}
int main()
{
cout << "---------------------------------------" << endl;
cout << " System-specific information " << endl;
cout << "---------------------------------------" << endl;
cout << endl;
cout << "Cache / processors:" << endl;
cout << "-------------------" << endl;
cout << endl;
cout << "Supported technologies:" << endl;
cout << "-----------------------" << endl;
cout << endl;
cout << "Memory management:" << endl;
cout << "------------------" << endl;
#if defined(OGDF_SYSTEM_WINDOWS) || defined(__CYGWIN__)
#endif
cout << endl;
cout << endl;
return 0;
}
Planarization of a connected graph
int main()
{
int crossNum;
SP.
call(PR, 0, crossNum);
cout << crossNum << " crossings" << endl;
return 0;
}