|
Written by Jalil
|
|
Saturday, 15 March 2008 |
|
If you ever needed a C++ library that extends on the standard template library and provides more advanced containers, then STLplus is probably your best bet. STLplus is a project developped by Andrew Rushton over many many years which provides some of the most used data structures like: Directed Graphs, N-ary Trees...etc. It is also portable between Windows and Linux. The creator of this library has used it for the development of the Moods Behavioural Synthesis tool at the university of Southampton. |
|
Last Updated ( Saturday, 22 March 2008 )
|
|
|
Written by Jalil
|
|
Thursday, 13 March 2008 |
The most annoying thing when developing console applications (especially under windows) is when you cannot see the entire output when it is too long for the command line window to handle. The only way around this is to print the output to a file that you can later open and read. You can usually do this by instantiating an output stream and write to it. But there is a simpler and tidier way to achieve that. Include this line in your Main function: std::freopen("output.txt", "w", stdout); What this function does is that it redirects the standard output stream "cout" to the file you specify in its first argument. Simple, Tidy and Useful.
|
|
Last Updated ( Monday, 14 April 2008 )
|
|
|