Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Im having some trouble, HELP

This probibly sounds like a stupid question,But Im programming a game and my tutorial has this line included, //#include
when I have it compile it says fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Might someone help me with this problem?

Comments

  • stephlstephl Posts: 422Member
    : This probibly sounds like a stupid question,But Im programming a game and my tutorial has this line included, //#include
    : when I have it compile it says fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
    : Might someone help me with this problem?
    :
    This header file should be in the same directory as windows.h. Check whether it is present. If it is, then check whether your compiler knows the path for include files.
    Remember that
    [code]#include [/code]
    means "look for the file in the directory where usual header files are stored (configurable)", while
    [code]#include "xxx.h"[/code]
    means "look for the file in the current directory".

    Steph
Sign In or Register to comment.