This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//2013_10_07 by S9954005 | |
#include <stdio.h> | |
#include <stdlib.h> | |
int main(int argc, char *argv[]) | |
{ | |
//參數讀取------------------------------------------------- | |
char warning_1[200]="Usage :-txt <資料檔案名稱> -anw <結果檔案名稱> -bn <block數量> -tn <thread數量> -dn <DataSize>\n\n\n; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>JavaScript表單欄位檢查</title> | |
<script language="javascript"> | |
function check() { | |
var n1=0; | |
var n2=0; | |
var n3=0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$mysqli = new mysqli("localhost","root","123456","board"); | |
$mysqli->query("SET CHARACTER SET utf8"); | |
$mysqli->query("SET collation_connection = 'utf8_unicode_ci'"); | |
if(isset($_POST['B1'])) | |
{ | |
$name1 = $_POST['name']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>留言板</title> | |
<style type="text/css"> | |
<!-- | |
tr { | |
text-align: center; | |
} | |
.XD1{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. select * from students where stud_sex='F' and stud_name LIKE'_美_' | |
2. select * from students where stud_addr IN('彰化縣' ,'台中縣' ,'台中市' )order by stud_no desc | |
3.select stud_addr,count(*) from students group by stud_addr having count(*)>1 | |
4. select course.c_name,course.credit from course INNER JOIN study ON course.c_no=study.serial_no where study.stud_no=(SELECT stud_no FROM students WHERE stud_name='張文傑') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************************* | |
Include files | |
*************************************************************************/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include "driver.h" | |
int i,d1,d2,d3,d4,se1,se2,se3,se4,a,a1,a3,a2; | |
unsigned short io_reg2,io_reg1,s0,s1,s2,s3,x1,x2,x3,x4; | |
unsigned short row, col, new_row, new_col; | |
unsigned short cpld_ctrl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
//姓名:陳昭佑(S9954005) | |
//作答情形:未完全 | |
?> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>期中上機考-第三題</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************************* | |
Include files | |
*************************************************************************/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include "driver.h" | |
int i,d1,d2,d3,d4,se1,se2,se3,se4,a,a1,a3; | |
unsigned short io_reg2,io_reg1,s0,s1,s2,s3,x1,x2,x3,x4; | |
unsigned short row, col, new_row, new_col; | |
unsigned short cpld_ctrl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--//practice_form2.php --> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<!-- TemplateBeginEditable name="doctitle" --> | |
<title> 表單接收 </title> | |
<style type="text/css"> | |
<!-- | |
.xd1 { | |
color: #00F; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--//practice_form2.php --> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<!-- TemplateBeginEditable name="doctitle" --> | |
<title> 表單接收 </title> | |
<style type="text/css"> | |
<!-- | |
.xd1 { | |
color: #00F; |
NewerOlder