C++ program wont compile menu

User Tag List

Results 1 to 9 of 9
  1. #1
    2dgreengiant's Avatar ★ Elder ★


    Reputation
    1192
    Join Date
    Feb 2007
    Posts
    7,129
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    C++ program wont compile

    I keep getting the error:

    Code:
    Cannot open include file: 'windows.h': No such file or directory
    Even tho it has been included in the project solution and when I right click on <windows.h> and select 'Open Document 'Windows.h' it takes me to it.

    Halp pl0x


    ~2d~
    If you need me you have my skype, if you don't have my skype then you don't need me.

    C++ program wont compile
  2. #2
    #ClumsyWizard's Avatar Contributor The Clumsiest of Wizards CoreCoins Purchaser
    Reputation
    227
    Join Date
    Sep 2006
    Posts
    744
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What are you using to compile?

  3. #3
    2dgreengiant's Avatar ★ Elder ★


    Reputation
    1192
    Join Date
    Feb 2007
    Posts
    7,129
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have tried Visual Studio 2005 C++ express, Visual Studio 2008 C++ express, Visual Studio 2008 Professional.
    If you need me you have my skype, if you don't have my skype then you don't need me.

  4. #4
    #ClumsyWizard's Avatar Contributor The Clumsiest of Wizards CoreCoins Purchaser
    Reputation
    227
    Join Date
    Sep 2006
    Posts
    744
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Direct help from me.... Not a chance.

    Link to help: "windows.h no such file or directory" in Visual Studio 2008! Help - CodeGuru Forums

    I'm the idiot who installed Python to start coding, and didn't install C++ to start. Links to aid are all I can provide.

  5. #5
    Xel's Avatar ★ Elder ★
    Authenticator enabled
    Reputation
    1179
    Join Date
    Jul 2008
    Posts
    2,906
    Thanks G/R
    94/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try each one of these separately:
    #include <windows.h>
    #include "windows.h"
    #include <windows>

  6. #6
    2dgreengiant's Avatar ★ Elder ★


    Reputation
    1192
    Join Date
    Feb 2007
    Posts
    7,129
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still getting the same issue with both replies
    If you need me you have my skype, if you don't have my skype then you don't need me.

  7. #7
    Xel's Avatar ★ Elder ★
    Authenticator enabled
    Reputation
    1179
    Join Date
    Jul 2008
    Posts
    2,906
    Thanks G/R
    94/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Download Bloodshed Dev C++ and compile with it (unless you are doing GUI).

  8. #8
    #ClumsyWizard's Avatar Contributor The Clumsiest of Wizards CoreCoins Purchaser
    Reputation
    227
    Join Date
    Sep 2006
    Posts
    744
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    FF crashed.
    Last edited by #ClumsyWizard; 10-19-2011 at 11:17 AM.

  9. #9
    Confucius's Avatar Super Moderator Don't Look Back in Anger

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1414
    Join Date
    Oct 2007
    Posts
    2,796
    Thanks G/R
    299/307
    Trade Feedback
    7 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I had same problem before 2d, I had to uninstall all things .net and visual studio related then remove the regesteries as well, then I redownloaded visual C++ 2010 and it worked, if you need help unblock me on msn fgt

Similar Threads

  1. Scriptdev wont compile.. help pl0x
    By manofwar95 in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 09-14-2010, 11:25 PM
  2. C# Basic program not compiling wtf?
    By ~OddBall~ in forum Programming
    Replies: 7
    Last Post: 04-14-2010, 11:20 AM
  3. c++ wont compile! crazy embedding manifest STUCK
    By darkmagishin in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 10-31-2008, 12:33 PM
  4. Lua ++ wont compile
    By pcrew in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 07-17-2008, 08:17 AM
  5. (MAC) Program compilation
    By garfieldfan in forum World of Warcraft Bots and Programs
    Replies: 12
    Last Post: 12-10-2007, 08:58 PM
All times are GMT -5. The time now is 04:37 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search