windows.h头文件 [英] windows.h header file

查看:1774
本文介绍了windows.h头文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,



我将实施日历的迷你项目然后我将运行程序,因此他应该与错误相关< windows.h>头文件&我将在turbo c ++软件中实现该项目。 plz在这个头文件中给我交替选项。

解决方案

你的场景不清楚。您是否收到错误,因为您已包含 windows.h 头文件?据我所知你不能这样做(因为这样的编译器只适用于goldie-oldie DOS )。

我建议您将获得更新的 C ++ 编译器(网上有许多免费提供)。


Turbo C ++不包含目录< windows.h>默认情况下。您可以为项目使用其他编译器,也可以编辑编译器并将目录添加到其中。为此,转到您的编译器文件并在一个名为'BIN'的最常用文件附近找到一个名为'INCLUDE'的文件,打开它并保存您的程序头文件(可能已下载),标签为.h (例如:windows.h,your_name.h)。然后,您可以在所有未来/现有程序中使用它。< windows.h>

-Sanket Mathur


不要使用 turboc ++ ,它已经过时了。 Windows 有许多免费的现代 C ++ 编译器。


hii sir ,

i will implement the mini project for calendar then i will run program so his should be error related <windows.h> header file & i will implement the project in turbo c++ software. plz give me alternating option in this header file.

解决方案

Your scenario is not clear. Are you getting an error because you have included the "windows.h" header file? As far as I know you can't do that (because such a compiler works only with the goldie-oldie DOS).
I would suggest you to get a more updated C++ compiler (there are many freely available on the web).


Turbo C++ don't contain the directory <windows.h> by default. You can use some other compilers for your project or you can the edit the compiler and add the directory to it. For doing that, go to your compiler files and near one the most used file named 'BIN' you will find a file named 'INCLUDE', open it and save your program for header file (probably downloaded) with the tag '.h' (eg: windows.h, your_name.h). Then you can use it in all your future/existing programs.<windows.h>
-Sanket Mathur


Don't use turboc++, it is obsolete. There are many freely available modern C++ compilers for Windows.


这篇关于windows.h头文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆