CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 系统编程

文件名称:joseph

介绍说明--下载内容来自于网络,使用问题请自行百度

 首先,认识并了解著名的约瑟夫问题:已知n个人(n>=1)围坐一圆桌周围,从1号开始顺序编号。从序号为1号的人开始报数,顺时针数到m的那个人出列:他的下一个人又从1开始报数,数到m的那个人又出列;依此规则一直重复下去,直到所有人全部出列,要求:求出最后一个出列人的编号。

 本程序运用VC++ 6.0开发工具,利用MFC框架构造一个基于对话框的应用程序,用户根据对话框的界面提示,了解约瑟夫问题,并且在对话框上键入总人数(n) 和出列数(m) 。由编辑框输出结果,结果显示为最后一个出列人的编号。-First, awareness and understanding of the famous Joseph question: Given n individuals (n> = 1) were sitting around a round table, from the 1st to start the sequence number. No. 1 from the number of people start off, count to m clockwise out of that person: He' s the next person and from one to start off, count to m that another person out rule has been repeated so go until all the columns required: find out who' s the last one out of numbers. The program uses VC++ 6.0 development tools to construct a framework for the use of MFC dialog-based application, a user interface based on the dialog box prompts, understanding the problem of Joseph, and type the total number (n) and the number (m) listed in the dialog box . The output from the edit box, the result is displayed as the last person out of the column number.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

joseph/Debug/joseph.exe
joseph/Debug/joseph.ilk
joseph/Debug/joseph.obj
joseph/Debug/joseph.pch
joseph/Debug/joseph.pdb
joseph/Debug/joseph.res
joseph/Debug/josephDlg.obj
joseph/Debug/StdAfx.obj
joseph/Debug/vc60.idb
joseph/Debug/vc60.pdb
joseph/joseph.aps
joseph/joseph.clw
joseph/joseph.cpp
joseph/joseph.dsp
joseph/joseph.dsw
joseph/joseph.h
joseph/joseph.ncb
joseph/joseph.opt
joseph/joseph.plg
joseph/joseph.rc
joseph/josephDlg.cpp
joseph/josephDlg.h
joseph/josephring.h
joseph/ReadMe.txt
joseph/res/joseph.ico
joseph/res/joseph.rc2
joseph/resource.h
joseph/StdAfx.cpp
joseph/StdAfx.h
joseph/Debug
joseph/res
joseph

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com