CPP - Binary Search Algorithm

In the video , sir said that he will write the code, but the video ends. Will we get the code or we will have to figure it out ourselves ?