首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;

public class FileStreamTest {

/**
 * @param args
 */
public static void main(String[] args) {
// TODO Auto-generated method stub
File myfile = new File("b.txt");
......................
阅读全部 | java小蚂蚁 贴于 2013年7月31日 16:05     hide bbsi
#include <iostream.h>
int main()
{
cout<<"jgdjbhfk";
}
阅读全部 | 千千万曲曲弯 贴于 2013年7月31日 13:58     hide bbsi
#include <stdio.h>
int main (void)
{
int a[100],n,x,k;
for (n = 0;n < 30;n++)
a[n] =100 - n;
for (x = 0;x < 29;x++)
for (k = 0;k < 29;k++ )
if (a[x] < a[x + 1])
{
 int h = a[x];
a[x] = a[x + 1];
......................
阅读全部 | bityangke 贴于 2013年7月28日 13:04     hide bbsi
#include<stdio.h>
#include<stdlib.h>
struct WORK
{
       int begin;
       int end;
       int value;
       };
int main()
{
    int i;
     WORK worke[5];
......................
阅读全部 | qunxingw 贴于 2013年7月27日 14:09     hide bbsi
#include <stdio.h>
#include <string.h>

int main()
{
    int n, m, x, y, z, i, j, a[22][22], t;
    for( ; scanf("%d%d", &n, &m) != EOF; printf("%d %d %d\n", x, y, z))
    {
        if(!n && !m) break;
        memset(a, 0, sizeof(a));
        for(i = 1; i <= n; i++)
            for(j = 1; j <= m; scanf("%d", &a[i][j++])) ;
......................
阅读全部 | QQ3344520 贴于 2013年7月24日 16:30     hide bbsi
server {
    listen       80;
    server_name  tms.tagmanager.com;
    client_max_body_size 3m;
    gzip_static on;

    #charset koi8-r;

    #access_log  /var/www/my.bccn.net/log/host.access.log;

    location / {
        root   /var/www/tagmanager/;
......................
阅读全部 | 静夜思 贴于 2013年7月23日 17:45     hide bbsi
uint8 __code* const pUsbDescStart;

请问,这句—__code是什么意思????
阅读全部 | lgfbarry 贴于 2013年7月23日 15:56     hide bbsi
#include<stdio.h>
#define N 100
void fun(int a[][N],int n)
{
int i,j,m=1;
for(i=0;i<=n/2;i++)
{
for(j=i;j<n-i;j++)
a[i][j]=m++;
for(j=i+1;j<n-i;j++)
a[j][n-i-1]=m++;
for(j=n-i-2;j>=i;j--)
......................
阅读全部 | 依恋2012 贴于 2013年7月19日 21:11     hide bbsi
worker_processes  16;

worker_cpu_affinity 0000000000000001 0000000000000010  0000000000000100 0000000000001000 0000000000010000 0000000000100000 0000000001000000 0000000010000000 0000000100000000 0000001000000000 0000010000000000 0000100000000000 0001000000000000 0010000000000000 0100000000000000 1000000000000000;
worker_rlimit_nofile 1048576;

events {
        worker_connections 1048576;
}

http {
        # something and so on
}
阅读全部 | 静夜思 贴于 2013年7月18日 10:16     hide bbsi
from maya.cmds import*
from  YJ_Bone_SearchAndReplace_Name import*
from YJ_ParentShape import*
from YJ_Creat_Curve import*
#############Rig 
###########
def YJ_CreatBlendCoL_T(NodeName,InObj1,InObj2,OutObj):
    shadingNode('blendColors', asUtility=1,n=NodeName)
    connectAttr('%s.t'%InObj1,'%s.color1'%NodeName,f=1)
    connectAttr('%s.t'%InObj2,'%s.color2'%NodeName,f=1)
    connectAttr('%s.output'%NodeName,'%.t'%OutObj,f=1)

......................
阅读全部 | zhuqingting 贴于 2013年7月17日 17:51     hide bbsi
上一页 247 248 249 250 251 252 253 254 255 256 下一页