#define _CRT_SECURE_NO_WARNINGS#include #include #include using namespace std;class student{private : string name; unsigned int age; string I...
分类:
其他好文 时间:
2015-09-30 14:14:55
阅读次数:
170
1 package Yuju; 2 3 public class yuju { 4 5 public static void main(String[] args) { 6 // 7 8 int age =18; 9 ...
分类:
其他好文 时间:
2015-09-29 23:35:15
阅读次数:
241
getMessage());}/*=== prepare: ? method$sql = "insert into users(id,name,age) values(?,?,?)";$stmt = $pdo->prepare($sql);// 1. bindValue()$stmt->bindVa...
分类:
其他好文 时间:
2015-09-29 21:58:53
阅读次数:
157
map映射到结构体,这里只支持简单的数据类型,复杂的需要在拓展 package main
import (
"errors"
"fmt"
"reflect"
"strconv"
"time"
)
type User struct {
Name string
Age int8
Date time.Time
}
f...
分类:
其他好文 时间:
2015-09-29 17:05:27
阅读次数:
135
bean对象定义:package com.mybatis.bean;public class Person { private int id; private String name; private int age; public int getId() { return id; } publi....
分类:
编程语言 时间:
2015-09-29 14:35:50
阅读次数:
166
1publicclassStudent{2privateStringname;3privateIntegerage;4privateStudent(Stringname,Integerage){5this.name=name;6this.age=age;7}8publicStringgetName(...
分类:
编程语言 时间:
2015-09-28 23:49:05
阅读次数:
190
1. 操作MySQL-->allusersidnameage$id$name$age";} ?> 3. 用户数据添加和防注入性攻击 <?phpif(!isset($_POST['name'])){ die('user name no...
分类:
数据库 时间:
2015-09-28 20:51:47
阅读次数:
274
create database foo chareset utf8;create table foo(user_name varchar(20),age int,signup_date date);insert into foo values('iwen','28','2015-01-01');se...
分类:
数据库 时间:
2015-09-28 15:58:21
阅读次数:
221
一,创建对象var box = new Object();box.name = 'lee';box.age = 23;box.run = function () { return this.name + this.age + " run....";}alert(box.run());上面创建了...
分类:
其他好文 时间:
2015-09-27 20:01:46
阅读次数:
211
XML比JSON更胖吗? 有的情况下是的,但也不一定,比较这样的片段: 和{"user" : { "age" : 18, "address" : { city : { name : "Seattle" } ...
分类:
Web程序 时间:
2015-09-26 12:02:01
阅读次数:
188