计算机算法的设计,是高校课程中一项很重要的部分,有重要的位置。因为学好算法是一件很不容易的事情,算法在日后的软件开发和设计中也有很重要的作用,可以提高软件的工作效率,提高性能,在游戏的设计中,计算机算法有更重要的作用。因为游戏基本上都是靠算法进行,通过高效的算法,能够降低软件系统运行时间,提高效率,本设计,采用了vc技术进行开发,主要是针对希尔排序算法,直接插入算法和二分插入算法进行图形化界面的演示。通过图形化的展示,能够更加方便,更加形象直观展示算法的特殊性。通过多种排序算法的研究,让我们更好更方便地对计算机排序进行了一个合理的研究。
例如,在课堂教学中,教师用多媒体课件辅助教学,会较大地增加内容的形象和生动程度,有利于吸引学生的注意力,有助于课程知识的消化。网络上丰富的资源不仅为教师制作多媒体课件提供素材和工具,而且有许多网络课件可以为教师直接引用。又如,交流是教育中最主要的手段之一,
网络学习没有时间和空间的限制,学习者能够在不同的场所,也不用刻意地规定某一个时间去学习。网络学习突出了学生的主体性和学习的主动性,改变了传统学习中教师的中心地位,把媒体从原来为教师的演示工具转变为学生的认知工具,真正落实了因材施教的原则。由多媒体计算机网络仿真生成的虚拟现实世界,可以创造一种身临其境的感觉,使学生不仅能感知而且能操作虚拟世界中的各种对象,远比教师传统的讲授更生动有趣,更能深刻理解和记忆,更能让学生感受、理解知识产生和发展的过程。网络教育把学习的控制权交给了学生,使学生可以根据自己的兴趣、爱好、知识经验、任务、需求和学习风格来使用信息,选择自己的认知环境;而且学生可以选择学习的主题,选择学习的数量,控制学习的进度等等。这样,学生的学习更为自主、独立。
// DataStructures.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "DataStructures.h"
#include "DataStructuresDlg.h"
#include "DlgMainFrame.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/
// CDataStructuresApp
BEGIN_MESSAGE_MAP(CDataStructuresApp, CWinApp)
//{{AFX_MSG_MAP(CDataStructuresApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()
/
// CDataStructuresApp construction
CDataStructuresApp::CDataStructuresApp()
{
// TODO: add construction code here,
// Place all significant initialization in InitInstance
}
/
// The one and only CDataStructuresApp object
CDataStructuresApp theApp;
/
// CDataStructuresApp initialization
BOOL CDataStructuresApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable, you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
DlgMainFrame dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application's message pump.
return FALSE;
}