教师工资管理系统
admin | win32 | 2013-03-09
C++
#include<iostream>
#include<string>
using namespace std;
#define S 1200//S表示固定工资
#define XJ 1500//行政一般人员基本工资
#define XJ1 1600//科级以上人员基本工资
#include<string>
class CStaff{
public:
string name;
int number;
string sex;
int salary;
int year;... [阅读全文]
计算0-500所有质数
admin | win32 | 2013-03-09
C++
[cce_cpp]
#include<iostream>
#include<string>
using namespace std;
#include<string>
int main(){
cout<<"0-500所有质数如下:n"<<endl;
for(int count=2, k,num=0;count<=500;count++)
{
//让count除以2开始寻找,如... [阅读全文]
win32 application 添加按钮
admin | win32 | 2013-02-25
C++
[cce_cpp]
from http://blog.csdn.net/luckyboy101/article/details/6739701
// BtnTest.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "resource.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle... [阅读全文]