The students stopped talking when the teacher came into the classroom.
The teacher coming in, the students stopped talking。
The teacher coming in为独立主格结构。
when the teacher come in,the students stop talking。
When the teacher stepped into the classroom, all the students stopped talking.