implemented live feed in c++