摘要: #include<fstream>#include<iostream>#include <algorithm>sort#include<string>#include<iomanip>using namespace std;class data{public: void input(); int num; char name[10]; char sex; float score[4]; float sum_score; float ave_score;};void data::input(){ cout<<"学号 阅读全文
posted @ 2012-09-21 16:37 ♂咱說 ろ算 阅读(217) 评论(0) 推荐(0) 编辑
摘要: #include<fstream>#include"conio.h"#include<string>#include<iostream>#include<iomanip>using namespace std;struct date{ int year; int month; int day;};struct time{ int hour; int minute; int sec;};struct Route{ char number[10];//车次 char begin_place[10];//始发点 char end_p 阅读全文
posted @ 2012-09-21 16:35 ♂咱說 ろ算 阅读(397) 评论(0) 推荐(0) 编辑
摘要: import javax.swing.*;public class xin{ public static void main(String[] args) { String year1=JOptionPane.showInputDialog("Enter a year"); int year=Integer.parseInt(year1); String day1=JOptionPane.showInputDialog("Today is"); int day=Integer.parseInt(day1); int []month_day={31,28, 阅读全文
posted @ 2012-09-21 16:04 ♂咱說 ろ算 阅读(414) 评论(0) 推荐(0) 编辑