locked
Code Is Not Working RRS feed

  • Question

  • I typed in the simple "Hello World" program code on the Console application, but instead of working like it was suppost to, it sead: "stddafx.h" and <iostream> skipped when looking for procompiled header use. What do I do?
    Thursday, May 5, 2016 10:28 PM

Answers

  • Hi Gabriel,

    Thanks for posting here.

    Please check if you have stdafx.h in your project setting->c/c++->precompiled header. And make sure #include "stdafx.h" is on the first of the include header list.

    By the way >>it sead: "stddafx.h" and <iostream> skipped when looking for procompiled header use. What do I do?

    Is "stddafx.h" the spell error? Please check what's in your code.

    Best Regards,

    Sera Yu


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.


    • Edited by Baron Bi Tuesday, May 10, 2016 1:54 AM
    • Proposed as answer by Baron Bi Friday, May 13, 2016 8:21 AM
    • Marked as answer by May Wang - MSFT Monday, May 16, 2016 7:33 AM
    Tuesday, May 10, 2016 1:31 AM