Hi guys ! I'm using linux OS, and i have gcc compiler in it defaultly. But i can't compile advanced programs which include "windows.h" in it. Can you please provide free download's link for such compiler?
adhirgukt
0
ADHI
Recommended Answers
Jump to PostYou won't be able to compile anything with the "windows.h" header in it (or the related "stdafx.h" header) for Linux with any compiler, as that is a Windows-specific header.
If you need to run a Windows program under Linux, you'll need to use
Jump to PostOh, of course you can use C to write a GUI program for a Linux desktop environment; most of the ones you are likely to use under Linux are in C or C++.
However, the "windows.h" header has nothing to do with that. That header isn't for graphical user interface …
All 6 Replies
Schol-R-LEA
1,446
Commie Mutant Traitor
Featured Poster
adhirgukt
0
ADHI
Schol-R-LEA
1,446
Commie Mutant Traitor
Featured Poster
JasonHippy
commented:
Good, clear and detailed answer!
+9
Schol-R-LEA
1,446
Commie Mutant Traitor
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Banfa
597
Posting Pro
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.