| | |
error: windows.h: No such file or directory
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Oct 2006
Posts: 174
Reputation:
Solved Threads: 0
Hi,
I have this code in C++ and it is not compiling in a terminal window on a Fedora Linux machine.
Please help, thanks a lot
I have this code in C++ and it is not compiling in a terminal window on a Fedora Linux machine.
Please help, thanks a lot
C++ Syntax (Toggle Plain Text)
#include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK); return 0; }
Last edited by tech291083; Sep 2nd, 2009 at 3:51 am.
•
•
Join Date: Oct 2006
Posts: 174
Reputation:
Solved Threads: 0
Hi,
Thanks a lot for the reply, I am sorry to post the code since I am not aware of the fact that it belongs to Windows, Could you please tell me as to what I should do in order to find code that has buttons etc and can work in Linux terminal?
Any particular web site or books for the purpose?
Thanks a lot my friend for your time, appreciated.........
Thanks a lot for the reply, I am sorry to post the code since I am not aware of the fact that it belongs to Windows, Could you please tell me as to what I should do in order to find code that has buttons etc and can work in Linux terminal?
Any particular web site or books for the purpose?
Thanks a lot my friend for your time, appreciated.........
•
•
•
•
Thanks a lot for the reply, I am sorry to post the code since I am not aware of the fact that it belongs to Windows
#include <windows.h> didn't ring a bell ? •
•
•
•
, Could you please tell me as to what I should do in order to find code that has buttons etc and can work in Linux terminal?
![]() |
Similar Threads
- No such file or directory (C)
- on-file directory lister (C++)
- Compile Error - Multi-file - Classes (C++)
- Error while opening a file (Python)
- I get the error no file or directory when i try to run a perl script (Perl)
- HTTP Error 404 - File or directory not found. (ASP.NET)
Other Threads in the C++ Forum
- Previous Thread: How do I create my own compiler directives?
- Next Thread: cmd window
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count data database delete deploy developer dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game getline givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib linker list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings temperature template test text text-file tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






