Time of Update: 2018-12-05
1./* 2. * Copyright (c) 2012, 煙台大學電腦學院 3. * All rights reserved. 4. * 作 者: 楊晨 5. * 完成日期:2012 年 10月 11 日 6. * 版 本 號:v1.0 7. * 8. * 輸入描述:星號圖 9. * 問題描述:星號圖 10. * 程式輸出:星號圖 11. * 問題分析:星號圖 12. * 演算法設計:星號圖 13.*/
Time of Update: 2018-12-05
/** 程式的著作權和版本聲明部分* Copyright (c)2013, 煙台大學電腦學院學生* All rightsreserved.* 檔案名稱:score.cpp* 作 者: 劉元龍* 完成日期: 2013 年6月 17 日* 版本號碼: v1.0* 輸入描述:讀入工資檔案,將工資加倍,排序輸出* 問題描述:* 輸出:*/ #include<fstream>#include<iostream>#include<cstdlib>using
Time of Update: 2018-12-05
上機目的:私人公有以及函數運用上機內容:求長方柱體的面積很體積/** 程式的著作權和版本聲明部分* Copyright (c)2012, 煙台大學電腦學院學生* All rightsreserved.* 檔案名稱: object.cpp* 作者:劉玉金* 完成日期: 2013年3 月 24 日* 版本號碼: v1.0* 輸入描述:輸入長寬高* 問題描述:求長方柱體的面積和體積* 程式輸出:面積和體積是多少*/#include <iostream>using namespace
Time of Update: 2018-12-05
/* * Copyright (c) 2012, 煙台大學電腦學院 * All rights reserved. * 作 者: 李洋* 完成日期:2012 年 10月 09日 * 版 本 號:v1.0 * 輸入描述:略* 問題描述:略* 程式輸出:星陣圖* 問題分析:略 * 演算法設計:略 #include <iostream>using namespace std;int main(){ int i,j; for(i=0;i<7
Time of Update: 2018-12-05
/*作 者: 劉元龍 完成日期:2012 年11 月 15日 版 本 號:v1.0 輸出描述:輸入10000以內的所有素數 問題描述:利用函數輸出得到的最大公約數 程式輸出:函數 */#include<iostream>using namespace std;int zm(int x);int main(){int
Time of Update: 2018-12-05
/* * Copyright (c) 2011, 煙台大學電腦學院 * All rights reserved. * 作 者: 楊晨 * 完成日期:2012 年 10月 11日 * 版 本 號:v1.0 * * 輸入描述:麻煩警號圖* 問題描述:麻煩警號圖* 程式輸出:麻煩警號圖* 問題分析:麻煩警號圖* 演算法設計:#include<iostream>using namespace std;int main(){ int i,j,n=6; for(i=n;
Time of Update: 2018-12-05
/** 程式的著作權和版本聲明部分* Copyright (c)2012, 煙台大學電腦學院學生* All rightsreserved.* 作者: 李洋* 完成日期: 2013年 6 月 4 日* 版本號碼: v1.0* 輸入描述:無* 問題描述:無* 程式輸出:無*/#include <iostream>#include <fstream>using namespace std;int main(){ int num[5]; ofstream
Time of Update: 2018-12-05
#include <iostream>#include <string.h>#include <iomanip>#include <stdio.h>using namespace std;//銀行中卡數#define MAXRECORDNUMBER 20000//銀行卡的卡號初始值#define INITNUMBER 10001struct Account{ int accNumber;//賬戶 char
Time of Update: 2018-12-05
/** 程式的著作權和版本聲明部分* Copyright (c)2012, 煙台大學電腦學院學生* All rightsreserved.* 檔案名稱: object.cpp* 作者:楊晨* 完成日期: 2013年5 月 24日* 版本號碼: v1.0* 輸入描述:無* 問題描述:* 程式輸出:*/#include <iostream>using namespace std;class Date{public:Date(int y=0,int mo=0,int d=0):year(
Time of Update: 2018-12-05
#include<iostream>#include<Cmath>using namespace std;class Point //定義座標點類{public: Point():x(0),y(0) {}; Point(double x0, double y0):x(x0), y(y0) {}; void PrintPoint(); //輸出點的資訊 double x,y; //資料成員,表示點的橫座標和縱座標};void
Time of Update: 2018-12-05
/** 程式的著作權和版本聲明部分* Copyright (c)2012, 煙台大學電腦學院學生* All rightsreserved.* 作者: 李洋* 完成日期: 2013年 6 月 14 日* 版本號碼: v1.0* 輸入描述:無* 問題描述:無* 程式輸出:無*/#include <iostream>#include <fstream>#include <cstdlib>using namespace std;int
Time of Update: 2018-12-05
#include <iostream>#include <string.h>#include <iomanip>using namespace std;class CPerson{protected:char *m_szName;char *m_szId;int m_nSex;//0:women,1:manint m_nAge;public:CPerson(char *name,char *id,int sex,int age);void
Time of Update: 2018-12-05
/* * 程式的著作權和版本聲明部分 * Copyright (c)2013, 煙台大學電腦學院學生 * All rightsreserved. * 檔案名稱: object.cpp * 作者:楊晨 * 完成日期: 2013年6 月 7日 * 版本號碼: v1.0 * 輸入描述:無 * 問題描述: * 程式輸出: */ // fuckDlg.cpp : implementation file//#include "stdafx.h"#include "fuck.h"#include
Time of Update: 2018-12-05
* Copyright (c) 2011, 煙台大學電腦學院 * All rights reserved. * 檔案名稱:test.cpp * 作 者:劉明亮* 完成日期:2012 年 10 月 26日 * 版 本 號:v1.0 * 輸入描述:無 * 問題描述:* 程式輸出:天數* 問題分析:略 * 演算法設計:略 #include <iostream>using namespace std;int main(){ int
Time of Update: 2018-12-05
/* 02.* Copyright (c) 2012, 煙台大學電腦學院 03.* All rights reserved. 04.* 作 者:劉明亮05.* 完成日期:2012 年 11月8日 06.* 版 本 號:v1.0 08.* 輸入描述:無 09.* 問題描述:張三、李四、王五、劉六的年齡成一等差數列,他們四人的年齡相加是26,相乘是880,求以他們的年齡為前4項的等差數列的前20項。 10.* 程式輸出:等差數列的前2
Time of Update: 2018-12-05
/* * 程式的著作權和版本聲明部分 * Copyright (c)2013, 煙台大學電腦學院學生 * All rightsreserved. * 檔案名稱:test.cpp * 作 者: 劉玉金 * 完成日期: 2013 年4 月 15 日 * 版本號碼: v1.0 * 輸入描述: * 問題描述: * 輸出: */ #include <iostream>#
Time of Update: 2018-12-05
gpio_set_value(port_num,0/1) 一般只是在這個GPIO口的寄存器上寫上某個值,至於這個連接埠是否設定為輸出,它就管不了!而gpio_direction_output (port_num,0/1),在某個GPIO口寫上某個值之後,還會把這個連接埠設定為輸出模式。 因此,有人也許就會建議,把gpio_set_value這個函數直接去掉不用,是否可以,顯然是可以的。一般某個連接埠設定好了輸入與輸出模式後,最好不要經常變動。
Time of Update: 2018-12-05
/usr/bin/ld: cannot find -lXrendercollect2: ld returned 1 exit statusmake[1]: *** [../../../../lib/libQtWebKit.so.4.7.4] Error 1make[1]: Leaving directory `/root/test/qt/qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebCore'make: ***
Time of Update: 2018-12-05
此完整出錯資訊是在./configure階段Basic XLib functionality test failed!You might need to modify the include and library search paths by editingQMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in
Time of Update: 2018-12-05
驅動代碼:#include <linux/module.h>#include <linux/init.h>#include <linux/version.h>#include <linux/proc_fs.h>#include <asm/uaccess.h>#include <linux/gpio.h>#include <mach/regs-gpio.h>#define USER_ROOT_DIR