问题

_____ in the queue for half an hour, the old man suddenly realized he had left the cheque in the car.[ ]
A: Waiting
B: To wait
C: Having waited
D: To have waited
B: To wait
C: Having waited
D: To have waited
正确答案是: