Saturday, May 22, 2010

Dev C++ and Windows Applications?

I started a new project under "Windows Application" in Dev C++, and I whole lot of unwelcome code popped up. What general region of the code would I head to to begin programming? For instance, if I wanted the window that is displayed to say "Hello World", where would I put a command to do so in the source code?

Dev C++ and Windows Applications?
It makes a difference what type of windows application you are building.





If this is (as defined in Visual Studio) a win32 console put the text output in





int _tmain(int argc, _TCHAR* argv[]) {


........


}





If you start with some other type you need to put it in the section that creates the window. Try a win32 console for a start.


No comments:

Post a Comment