第一个练习

来源:互联网 发布:求最简形矩阵 编辑:程序博客网 时间:2024/06/08 17:36

看看当年做的第一个练习,老板真是仁慈啊。这难道不是应该在三天之内全部搞定吗?

第一个就是最基本的VC界面编程,熟悉几个基础控件的使用。

第二个是audio的基本知识。当年还在用VC1.52,现在用vs2008重写一个吧!:)

Microsoft Visual C++

Objective: To write a simple control panelprogram using Microsoft Visual C++ and MFC.

Time: 2 weeks

Reading Materials: MSDN and Visual C++ Helppages.

Result:

  1. Write a MFC program that is a control panel. It must have a button, text box, slider, check box, and radio buttons. The current value of the slider should be displayed on the test box. The button is to quit the program. The check box will enable or disable the slider. The radio buttons will change the title of the panel applet.
  2. Do a code walk-through of the written program.

Wave Files

Objective: To create, read, and modifyMicrosoft Wave Files.

Time: 2 weeks

Result:

  1. Write a Windows program that will open a PCM wave file, read the PCM samples, find the maximum, minimum, and average value of the PCM samples, and display the results.
  2. Write a Windows program that will convert a PCM wave file by doubling its sample rate. Duplicating every sample can double the sample rate.
Do a code walk-through ofthe written programs.


0 0