跪求VC能存盘的涂鸦程序

来源:百度知道 编辑:UC知道 时间:2024/06/06 09:15:15
能够存盘的涂鸦程序

设置画线颜色、试用设定颜色画线。
实现滚动视。利用MFC提供的滚动视功能,实现窗口卷滚条。

有完整的源代码 在VC 6.0下运行成功

#include<iostream.h>
#include<stdlib.h>
#include<stdio.h>
#include<string.h>
#define NULL 0

int k=1,k2=0,k3=0; //k记录注册人数,k2记录答案数,k3通过人数
struct answer1 *headan=NULL ,*p2=NULL;
struct score *heads=NULL,*p3=NULL;

struct infor
{
int age;
char num[20]; //身份证号
char name[15];
unsigned int num2;
struct infor *next; //注册号
}h={19,"110198901011111","H",1,NULL};

struct infor *p1=NULL,*head=&h; //head记录首位置,p1记录末位置

struct answer1
{
unsigned int num;
char ans[20];
struct answer1 *next;
};

struct score
{
unsigned int num;
int mark;
char * comment;
struct score *next;
};

void answer(int num2);
void login()
{
void regidit(void);
void mainpage(void);
char name_[20];
int ch;
struct infor *px=head;
if