Depreciation = (Cost-Residual value) / Useful life [Example, Straight line depreciation] On April 1, 2011, Company A purchased an equipment at the cost of $140,000. This equipment is estimated to have 5 year useful life. At the end of the 5th year, the salvage value (residual value) will be $20,000.
The C++ Code::Blocks environment comes in an easy-to-install, compressed executable file that is compatible with all versions of Windows after Windows 2000. Download the executable codeblocks-13.12.mingw-setup.exe. Save the executable to your desktop or some other place that you can easily find it.
Code::Blocks is a cross-platform IDE that supports compiling and running multiple programming languages. It is available for download from: http://www.codeblocks.org/. Code::Blocks can work with a variety of compilers. For Windows, it is offered optionally with the MingW compiler. This version that includes MingW is sufficient to follow these tutorials, letting you compile the examples right away.