As shown in the figure below:
I want to calculate the intersections of an u direction iso curve and the boundary of TopoDS_Face in occt,but i don't know how to write the code,anyone who can give some advices or sample code with c++?
Any useful suggestions and codes would be appreciated!

In your question I have several places which are not clear to me. So this is how I understand your question. You have a TopoDS_Face and ISO curve (U direction or V direction). You need to find the gp_Pnt of the intersection between the boundary edges of the given shape and the given ISO curve. Here is the small code snippet to do that.
You can get an ISO curve using the following code snippet.
You can find the intersection points of the given edges using the following code. Here assume the face contains multiple edges.
Hope this is the correct answer you find.