#include"wz.h"
#include"sts.h"
#defineMAX5
voidshow(intarr[][MAX])
{
for(inti=0;i<MAX;i++)
{
for(intj=0;j<MAX;j++)
{
cout<<arr[i][j]<<"";
}
cout<<endl;
}
cout<<endl;
}
voidplay(intarr[][MAX],intx,inty)
{arr[x][y]=1-arr[x][y];
..
分类:
其他好文 时间:
2016-03-31 07:13:21
阅读次数:
134
#include"wz.h"
#include"sts.h"
#defineMAX5
voidshow(intarr[][MAX])
{
for(inti=0;i<MAX;i++)
{
for(intj=0;j<MAX;j++)
{
cout<<arr[i][j]<<"";
}
cout<<endl;
}
cout<<endl;
}
voidplay(intarr[][MAX],intx,inty)
{
if(x<0||y<0||x&g..
分类:
其他好文 时间:
2016-03-31 07:13:00
阅读次数:
198
#include"wz.h"
/*intcheck3(intx[][5])
{
inti,j;
intsum=0;
for(i=0;i<5;i++)
{for(j=0;j<5;j++)
sum+=x[i][j];
}
if(sum==1)return1;
elsereturn0;
}*/
intcheck3(intx[][5])
{
inti,j;
for(i=0;i<5;i++)
{for(j=0;j<5;j++)
if(x[i][j]==1)return1;break;
}
re..
分类:
其他好文 时间:
2016-03-31 07:11:25
阅读次数:
165
#include<iostream>
#include"wz.h"
#include<ctime>
usingnamespacestd;
#defineMAX5
voidshow(intarr[][MAX])
{
for(inti=0;i<MAX;i++)
{
for(intj=0;j<MAX;j++)
{
cout<<arr[i][j]<<"";
}
cout<<endl;
}
cout<<endl;
}
voidChan..
分类:
其他好文 时间:
2016-03-31 07:09:52
阅读次数:
180
模型新建对象:Person.objects.create(name=name,age=age)p=Person(name="WZ",age=23)p.save()p=Person(name="TWZ")p.age=23p.save()Person.objects.get_or_create(name="WZT",age=23)这种方法是防止重复很好的方法,但是速度要相对慢些,返回一个元组,第一个为Person对象,第..
分类:
其他好文 时间:
2016-03-26 08:10:48
阅读次数:
188
wz.h
//////////////////////////
#define_CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include<errno.h>
#include<string.h>
#include<time.h>
#include<time.h>
#include<stdarg.h>
..
分类:
其他好文 时间:
2016-03-11 06:43:29
阅读次数:
185
#include"wz.h"
#definen5
#defineN5
//1
structpb{int*p;struct{intx,y;}s;structpb*next;};
voidneicunduiqi(){structpbw;printf("内存对齐\nsizeofstructpb%2d\n",sizeof(w));}
//2
voidjcqh()
{
intnn=4;inti=0;
intsum=1;intSUM=0;printf("阶乘求和:\n");
for(i=1;i<=n..
分类:
其他好文 时间:
2016-03-10 01:44:32
阅读次数:
234
// ViewController.swift// Animations// Created by WZ on 16/1/15.// Copyright © 2016年 iwangzheng.com. All rights reserved.import UIKitclass ViewCon...
分类:
编程语言 时间:
2016-01-16 11:56:19
阅读次数:
352
下面为大家分享一个PHPCMSV9二次开发自定义分页函数的方法。方法如下:首先打开phpcms\libs\functions\global.func.php这个文件,找到分页函数,复制一下,粘贴到默认分页函数的下面,重新命名,比如我的就命名为wz_pages,保存。打开phpcms/libs/classes/template_cache.class..
分类:
Web程序 时间:
2016-01-15 11:11:58
阅读次数:
188
WZ 架构师这东西。。我司的架构师是属于啥都做的但是不参与具体的功能开发STST 不做具体的,意味着空得很 DH 做技术选型啦性能优化啊安全专项啊之类的 STST 我不相信,不做具体的,能把设计做好 DH 那是因为做过很多年具体的了 没见过刚毕业进来就挂个架构师头衔的 STST 不做具体的,就得不到...
分类:
其他好文 时间:
2015-10-23 20:06:07
阅读次数:
244