1、产生随机数一般可以用,#include <time.h>;srand((unsigned)time( NULL ));rand()
2、比如你可以规定(操作数A 运算符B 操作数C),某一次随机出来A=5 B为+ C为2,那么随机算式就是 5 + 2
3、代码如下:namespace Leimom.FiveChess{;using System;using System.Drawing;
4、using System.Collections;using System.ComponentModel;using System.WinForms;
5、using System.Data;////// Summary description for Form1.
6、///public class FiveForm : System.WinForms.Form{////// Required designer variable.
7、///private System.ComponentModel.Container compo艘绒庳焰nents;private S烤恤鹇灭ystem.WinForms.ImageList imageListbw;