| | |
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 based binary c++ c/c++ calculator char char* class classes code coding compile console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock wordfrequency wxwidgets






