❶ C++第一學期期末實驗報告適合編一個什麼程序
學生管理程序 或者 超市用的那種管理程序,以管理程序為主,因為你只是學了c++,結合數據結構寫一個程序還是不錯的,其它的網路的或者針對windows圖形界面的 是需要一定其它編程基礎的……觀樓主英俊瀟灑、風流倜儻,必當世之豪傑,誠邀樓主加入0x30網路貼吧,共商義舉,成千秋霸業。
❷ asp.net期末作品
去 www.51aspx.com 下吧上面源碼較多,或者我要畢設網找找,希望對你有幫助哦。
❸ 求一個java小作品 要代碼 期末考試交的 不用復雜 急用
這種音樂代碼,Android的網頁鏈接
❹ 期末作業,用eclipse做一個安卓小游戲
1,你說的這個就是有的啊,我前段時間用應用寶找東西的時候就見了,你玩的話可以自己看下,2,然後就是弄這個軟體啥的也是挺多的,你要是玩的話可以自己直接弄下也挺省事的呢!3,打開之後就是能直接玩的,也挺省事的
❺ 大一網頁設計期末作業 求一個代碼 靜態的都行 謝謝
代碼可復制:
import java.util.ArrayList;
import java.util.Random;
import java.util.Scanner;
/**
* 21點游戲。
* 1、洗牌
* 2、發牌
* 3、計算點數
* 4、 是否要牌
* 5、計算機發牌
* 6、計算結果
*/
public class TPoint{
private int[] pai = new int[52];//52張牌
private String[] huase= {"黑","紅","梅","方"};
private String[] paiM = {"A","2","3","4","5","6","7","8","9","10","J","Q","K"};//牌面顯示
private ArrayList<Integer> al = new ArrayList<Integer>();//存儲玩家手中的牌
private int currentPoint;
private int computerPoint = 0;
private int currentPage=0;
public TPoint() {
super();
xipai();//洗牌
fapai();//發牌
needPai();//是否要牌
computerPai();//電腦發牌
result();//計算結果
}
private void xipai() {
for(int i = 0; i < 52 ;i++ ){
pai[i]=i;//52張牌賦值
}
for(int j = 0;j<26;j++){//打亂26次
Random r = new Random();
int i1 = Math.abs(r.nextInt()%52);//在52張中牌中找到第一張
int i2 =Math.abs(r.nextInt()%52);//在52張中牌中找到第二張
int temp = pai[i2];
pai[i2] = pai[i1];
pai[i1] = temp;
}
}
private void fapai() {
/*for(int i = 0;i<52;i++){
System.out.print(pai[i]+" ");
}*/
//先發兩張給玩家
al.add(pai[0]);
al.add(pai[1]);
currentPoint += calPoint(pai[0]);
currentPoint+= calPoint(pai[1]);
currentPage= 2;
}
private int calPoint(int i) {//計算牌的點數
int temp = 0;
if(i%13+1>10){//JQK都是10
temp = 10;
}
else{
temp = (i+1)%13;
}
return temp;
}
private void needPai() {
while(true){
xianshi();//顯示牌面
if(currentPoint>=21){//玩家點數大於21則不能再要牌
break;
}
System.out.println("是否還要牌,輸入N不要!");
Scanner sc = new Scanner(System.in);
if(sc.next().equalsIgnoreCase("N")){
break;//輸入N則結束
}else {
al.add(pai[currentPage]);//繼續添加牌
currentPoint+=calPoint(pai[currentPage]);//牌點數+
currentPage++;
}
}
}
private void xianshi() {
for(Integer in:al){//顯示玩家手中的牌
System.out.print(huase[in/13]+" "+paiM[in%13]+" ");//顯示花色 和牌面
System.out.println("當前總分:"+currentPoint);
}
private void computerPai() {
Random r = new Random();
computerPoint = Math.abs(r.nextInt())%10+16;//電腦的點數在16點到26點
System.out.println(" 電腦 的牌面:"+computerPoint);
}
private void result() {
if(currentPoint>21){//玩家點數大於21則不能再要牌
System.out.println("you lost!");
}else if(currentPoint==computerPoint){
System.out.println("you lost!");
}else if(computerPoint>21){
System.out.println("you Win!");
}else if(currentPoint>computerPoint){
System.out.println("you Win!");
}else{
System.out.println("you Lost!");
}
}
public static void main(String[] args){
new TPoint();
}
}
(5)安卓期末作品源碼報告擴展閱讀:
對於計算機而言,並不存在真正意義上的「好」的源代碼;然而作為一個人,書寫習慣的好壞將決定源代碼的好壞。源代碼是否具有可讀性,是判斷其好壞的重要標准。軟體文檔則是表明可讀性的關鍵。
代碼作為程序員用開發工具所支持的語言寫出來的源文件,設計的原則包括唯一確定性、標准化和通用性、可擴充性與穩定性、便於識別與記憶、力求短小與格式統一以及容易修改等。
源代碼是代碼的分支,某種意義上來說,源代碼相當於代碼。現代程序語言中,源代碼可以書籍或磁帶形式出現,但最為常用格式是文本文件,這種典型格式的目的是為了編譯出計算機程序。計算機源代碼最終目的是將人類可讀文本翻譯成為計算機可執行的二進制指令,這種過程叫編譯,它由通過編譯器完成。
❻ C#製作學生信息管理系統(期末作業)不要用C++。救急 兩天內要上交。
這么簡單的東西也要人幫忙。。。
看樣子是不能用資料庫。
你把已經存在的學生信息存在一個集合里,
然後遍歷讀取判斷。
軟體的第四步在新增到集合裡面後
方法重寫一下。