score windowed c++