Need help with C++ homeworkI need a function which outputs the number of squares after the last token is dropped. placeToken returns 4 etc.Attachment 1Attachment 2Write a class called SBoard that represents a 10x 10 grid , where a token may be placed at any Irow ,...