摘要:
//Author: ScottChiang//Date: August 2012import java.sql.Connection;import java.sql.DriverManager;import java.sql.PreparedStatement;import java.sql.ResultSet;import java.sql.SQLException;import java.sql.Statement;public class TestPreparedStatement { /** * @param args * @throws Exception ... 阅读全文
posted @ 2013-04-14 06:21
ScottChiang
阅读(792)
评论(0)
推荐(0)
摘要:
/* to see whether this string is a positive integer */int check_str_isint(char *psrc){ int num; char *p; p = psrc; num = 0; while((*p) != '\0') { if((*p) >= '0' && (*p) <= '9') { num *= 10; num += (*p) - '0'; p++; continue; }... 阅读全文
posted @ 2013-04-14 05:50
ScottChiang
阅读(210)
评论(0)
推荐(0)

浙公网安备 33010602011771号