Implement for CriticalPath
Language: C/C++
IDE: VS2013