登录
首页 » c++ » 利用C++和MFC编写一个简易的填充问卷 适合c++入门初学者

利用C++和MFC编写一个简易的填充问卷 适合c++入门初学者

于 2023-07-12 发布 文件大小:1.78 MB
0 82
下载积分: 2 下载次数: 1

代码说明:

编写并利用一个应用程序Ex_Research实现问卷调查的功能:针对“上网”话题提出了三个问题并在之基础上加多个问题(1.被调查者年龄2.被调查者的网络接入方式3.被调查者上网的目的4.被调查者的平均上网时间),其中前2个和最第4个是利用单选框,第3个是利用复选框,当回答问题后,单击“确定”按钮,弹出一个消息对话框,显示用户选择的内容。首先,先创建程序Ex_Research,利用组框、静态文本、单选按钮、复选框、静态图片等控件创建并设计调查问卷对话框(参照实验内容示图),然后,需要通过CheckRadioButton函数来设置同组单选按钮的最初选中状态,通过SetCheck来设置指定复选框的选中状态,然后利用GetCheckRadioButton和GetCheck来判断被选中的单选按钮和复选框,并通过GetDlgItemText或GetWindowText获取选中控件的窗口文本;这样,当回答问题后,单击“确定”按钮,弹出一个消息对话框,就会显示用户选择的内容。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • MPU6050六轴传感器实验
    说明:  stm32f103对mpu6050使用,可以读取6轴数据并调用dmp,得到欧拉角(STM32F103 is used for mpu6050. It can read 6-axis data and call DMP to get Euler angle.)
    2020-06-17 00:40:02下载
    积分:1
  • supcode_Cyuanluntan
    一个比较不错的专门为技术型站点订制的专业论坛源码(a quite good for the specialized technology-based site Customized professional forum FOSS)
    2007-03-20 18:45:08下载
    积分:1
  • Defeat-V5b3.3fixed
    This something that people never understand , SAMA PERSIS BUAT AMBIL PROGRAM
    2014-11-15 19:39:41下载
    积分:1
  • matlab_eng
    说明:  matlab编程引擎(matlab programming engine)
    2008-09-14 17:25:52下载
    积分:1
  • TPPendulumh
    这个程序是基于固高公司运动控制卡的倒立摆完整控制程序,包括括了界面、实时曲线显示、算法等部分。, (This program is a card based on the the Googol movement control inverted pendulum complete control procedures, including including the interface, real-time curve display, algorithms and other parts. ,)
    2020-09-10 04:48:00下载
    积分:1
  • NIOS-II中PIO模拟的IIC驱动控制MT9M034摄像头
    NIOS-II中PIO模拟的IIC驱动控制MT9M034摄像头(PIO simulated IIC driver control MT9M034 camera based on NIOS_II core)
    2013-06-01 16:25:03下载
    积分:1
  • scren-pic
    用C#开发屏幕截图的源代码,只有源码,不含工程文件(C# development screenshot of the source code, only the source code, project file does not contain)
    2013-08-07 16:02:43下载
    积分:1
  • udp打洞通信测试
    udp打洞通信测试 C# 编写可直接运行(UDP hole-drilling communication test C # can be written and run directly)
    2020-06-25 14:20:02下载
    积分:1
  • MCUchip
    单片机常用芯片手册,非常实用,初学者适合(Commonly used single-chip chip manual, very practical, suitable for beginners)
    2009-03-09 19:48:44下载
    积分:1
  • OpenGL-Terrain-master
    opengl terrain Building the sources -------------------- 1 On Windows Just open the solution with vs2010, and press CTRL+F5. 2 On Linux In a terminal, type sh configure.sh , then either: - make config=release32 or - make config=release64 depending on your system. You can get more options for build by typing make help
    2014-09-11 08:09:35下载
    积分:1
  • 696518资源总数
  • 106222会员总数
  • 14今日下载