- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathXCode.cpp
More file actions
Latest commit
40 lines (30 loc) · 766 Bytes
/
Copy pathXCode.cpp
File metadata and controls
40 lines (30 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// XCode.cpp : Defines the entry point for the console application.
//
#include"stdafx.h"
#include"XCodeHeader.h"
#include"XCode.h"
#ifdef _DEBUG
#definenewDEBUG_NEW
#undef THIS_FILE
staticcharTHIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// The one and only application object
CWinApp theApp;
usingnamespacestd;
int_tmain(int argc, TCHAR* argv[], TCHAR* envp[])
{
int nRetCode = 0;
// initialize MFC and print and error on failure
if (!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0))
{
// TODO: change error code to suit your needs
cerr << _T("Fatal Error: MFC initialization failed") << endl;
nRetCode = 1;
}
else
{
XCODE190
}
return nRetCode;
}