•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 397,696 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,530 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser:
This code will create for you an application. we are goig to use visual c++ for it
open visual, c++.
click file then New.
in the New dialogue box click projects.
click win32 application.
give it a name eg my_project.
and click finish.
Then again click file.
click files.
the C++ source.
give it a name eg CMyApp.
click ok.
specify that it is an empty application.
finish.
open visual, c++.
click file then New.
in the New dialogue box click projects.
click win32 application.
give it a name eg my_project.
and click finish.
Then again click file.
click files.
the C++ source.
give it a name eg CMyApp.
click ok.
specify that it is an empty application.
finish.
Last edited : Apr 13th, 2007.
#include <afxwin.h> class CMyApp : public CWinApp { public: virtual BOOL InitInstance(); }; class CMainFrame : public CFrameWnd { public: CMainFrame(); }; CMainFrame::CMainFrame() { Create(NULL, "my application"); } BOOL CMyApp::InitInstance() { m_pMainWnd = new CMainFrame; m_pMainWnd->ShowWindow(SW_NORMAL); return TRUE; } CMyApp theApp;
Post Comment
•
•
•
•
DaniWeb Marketplace (Sponsored Links)