Приложение, написанное на Microsoft Visual C++ c использованием библиотеки MFC. Тecтиpoвaниe пo Apифмeтичecкoй пpoгpeccии
Дипломная работа - Компьютеры, программирование
Другие дипломы по предмету Компьютеры, программирование
bsp;
// Vopros9 message handlers
Vopros9: OnBnClickedRadio1 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Vopros9: OnBnClickedRadio2 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Vopros9: OnBnClickedRadio3 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Vopros9: OnBnClickedRadio4 ()
{
// TODO: Add your control notification handler code here_otvet=5;
}
Вoпpoc 10.
// Vopros10.cpp: implementation file
//
#include stdafx.h
#include Kursovik.h
#include Vopros10.h
// Vopros10 dialog
_DYNAMIC (Vopros10, CDialog)
Vopros10: Vopros10 (CWnd* pParent /*=NULL*/)
: CDialog (Vopros10:IDD, pParent)_otvet(0)
{
}
:~Vopros10 ()
{
}
Vopros10: DoDataExchange (CDataExchange* pDX)
{: DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP (Vopros10, CDialog)
ON_BN_CLICKED (IDC_RADIO1, &Vopros10: OnBnClickedRadio1)_BN_CLICKED (IDC_RADIO2, &Vopros10: OnBnClickedRadio2)_BN_CLICKED (IDC_RADIO3, &Vopros10: OnBnClickedRadio3)_BN_CLICKED (IDC_RADIO4, &Vopros10: OnBnClickedRadio4)_MESSAGE_MAP()
// Vopros10 message handlers
Vopros10: OnBnClickedRadio1 ()
{
// TODO: Add your control notification handler code here_otvet=5;
}Vopros10: OnBnClickedRadio2 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Vopros10: OnBnClickedRadio3 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Vopros10: OnBnClickedRadio4 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Вoпpoc 11.
// Vopros11.cpp: implementation file
//
#include stdafx.h
#include Kursovik.h
#include Vopros11.h
// Vopros11 dialog
_DYNAMIC (Vopros11, CDialog)
Vopros11: Vopros11 (CWnd* pParent /*=NULL*/)
: CDialog (Vopros11:IDD, pParent)_otvet(0)
{
}
:~Vopros11 ()
{
}
Vopros11: DoDataExchange (CDataExchange* pDX)
{: DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP (Vopros11, CDialog)
ON_BN_CLICKED (IDC_RADIO2, &Vopros11: OnBnClickedRadio2)_BN_CLICKED (IDC_RADIO3, &Vopros11: OnBnClickedRadio3)_MESSAGE_MAP()
// Vopros11 message handlers
Vopros11: OnBnClickedRadio2 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Vopros11: OnBnClickedRadio3 ()
{
// TODO: Add your control notification handler code here_otvet=5;
}
Вoпpoc 12.
// Vopros12.cpp: implementation file
//
#include stdafx.h
#include Kursovik.h
#include Vopros12.h
// Vopros12 dialog
_DYNAMIC (Vopros12, CDialog)
: Vopros12 (CWnd* pParent /*=NULL*/)
: CDialog (Vopros12:IDD, pParent)_otvet(0)
{
}
:~Vopros12 ()
{
}
Vopros12: DoDataExchange (CDataExchange* pDX)
{: DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP (Vopros12, CDialog)
ON_BN_CLICKED (IDC_RADIO1, &Vopros12: OnBnClickedRadio1)_BN_CLICKED (IDC_RADIO2, &Vopros12: OnBnClickedRadio2)_BN_CLICKED (IDC_RADIO3, &Vopros12: OnBnClickedRadio3)_BN_CLICKED (IDC_RADIO4, &Vopros12: OnBnClickedRadio4)_MESSAGE_MAP()
// Vopros12 message handlers
Vopros12: OnBnClickedRadio1 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Vopros12: OnBnClickedRadio2 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Vopros12: OnBnClickedRadio3 ()
{
// TODO: Add your control notification handler code here_otvet=5;
}
Vopros12: OnBnClickedRadio4 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Вoпpoc 13.
// Vopros13.cpp: implementation file
//
#include stdafx.h
#include Kursovik.h
#include Vopros13.h
// Vopros13 dialog
_DYNAMIC (Vopros13, CDialog)
: Vopros13 (CWnd* pParent /*=NULL*/)
: CDialog (Vopros13:IDD, pParent)_otvet(0)
{
}
:~Vopros13 ()
{
}
Vopros13: DoDataExchange (CDataExchange* pDX)
{: DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP (Vopros13, CDialog)
ON_BN_CLICKED (IDC_RADIO1, &Vopros13: OnBnClickedRadio1)_BN_CLICKED (IDC_RADIO2, &Vopros13: OnBnClickedRadio2)_BN_CLICKED (IDC_RADIO3, &Vopros13: OnBnClickedRadio3)_BN_CLICKED (IDC_RADIO4, &Vopros13: OnBnClickedRadio4)_MESSAGE_MAP()
// Vopros13 message handlers
Vopros13: OnBnClickedRadio1 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Vopros13: OnBnClickedRadio2 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Vopros13: OnBnClickedRadio3 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}Vopros13: OnBnClickedRadio4 ()
{
// TODO: Add your control notification handler code here_otvet=5;
}
Вoпpoc 14.
// Vopros14.cpp: implementation file
//
#include stdafx.h
#include Kursovik.h
#include Vopros14.h
// Vopros14 dialog
_DYNAMIC (Vopros14, CDialog)
: Vopros14 (CWnd* pParent /*=NULL*/)
: CDialog (Vopros14:IDD, pParent)_otvet(0)
{
}
:~Vopros14 ()
{
}
Vopros14: DoDataExchange (CDataExchange* pDX)
{: DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP (Vopros14, CDialog)
ON_BN_CLICKED (IDOK, &Vopros14: OnBnClickedOk)_EN_CHANGE (IDC_EDIT1, &Vopros14: OnEnChangeEdit1)_MESSAGE_MAP()
// Vopros14 message handlers
Vopros14: OnBnClickedOk()
{
// TODO: Add your control notification handler code here(true);();
}
Vopros14: OnEnChangeEdit1 ()
{_otvet=10;
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog: OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
}
Вoпpoc 15.
// Vopros15.cpp: implementation file
//
#include stdafx.h
#include Kursovik.h
#include Vopros15.h
// Vopros15 dialog
_DYNAMIC (Vopros15, CDialog)
: Vopros15 (CWnd* pParent /*=NULL*/)
: CDialog (Vopros15:IDD, pParent)_otvet(0)
{
}
:~Vopros15 ()
{
}
Vopros15: DoDataExchange (CDataExchange* pDX)
{: DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP (Vopros15, CDialog)
ON_BN_CLICKED (IDC_RADIO1, &Vopros15: OnBnClickedRadio1)_BN_CLICKED (IDC_RADIO2, &Vopros15: OnBnClickedRadio2)_BN_CLICKED (IDC_RADIO3, &Vopros15: OnBnClickedRadio3)_BN_CLICKED (IDC_RADIO4, &Vopros15: OnBnClickedRadio4)_MESSAGE_MAP()
// Vopros15 message handlers
Vopros15: OnBnClickedRadio1 ()
{
// TODO: Add your control notification handler code here_otvet=5;
}
Vopros15: OnBnClickedRadio2 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Vopros15: OnBnClickedRadio3 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Vopros15: OnBnClickedRadio4 ()
{
// TODO: Add your control notification handler code here_otvet=0;
}
Вoпpoc 16.
// Vopros16.cpp: implementation file
//
#include stdafx.h
#include Kursovik.h
#include Vopros16.h
// Vopros16 dialog
_DYNAMIC (Vopros16, CDialog)
: Vopros16 (CWnd* pParent /*=NULL*/)
: CDialog (Vopros16:IDD, pParent)_otevt(0)_otvet(0)
{
}
:~Vopros16 ()
{
}
Vopros16: DoDataExchange (CDataExchange* pDX)
{: DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP (Vopros16, CDialog)
ON_BN_CLICKED (IDC_RADIO1, &Vopros16: OnBnClickedRadio1)_BN_CLICKED (IDC_RADIO2, &Vopros16: OnBnClickedRadio2)_BN_CLICKED (IDC_RADIO3, &Vopros16: OnBnClickedRadio3)_BN_CLICKED (IDC_RADIO4, &Vopros16: OnBnClickedRadio4)_MESSAGE_MAP()
// Vopros16 message handlers
Vopros16: OnBnClickedRadio1 ()
{
// TODO: Add your control notification handler code h