I resolved this by manually adding the path to iostream to my project:
Right click on project -> Properties -> C/C++ General -> Paths and Sympols -> GNU C++ (under Languages column in Includes) -> Add
I added the following (the ones in Bold) -- I think the second one is what you need:
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…