#====================================================================================================
#CreateCurvesAndSave
#
#Designer:YangJie
#Email:691633493@qq.com
#Version:2.2
#====================================================================================================
from maya.cmds import*
from YJ_ZeroGrp import*
from YJ_ParentShape import*
import glob,os
import getpass
......................
阅读全部
|
zhuqingting
贴于 2014年2月28日 15:18
hide
bbsi
import string
import os
import sys
import re
###Path
User_Doc = os.environ["USERPROFILE"]
User_Doc_Path=User_Doc.replace('/','\\')
Maya_Env_Path=User_Doc_Path+'\\Documents\\maya\\2014-x64\\maya.env'
......................
阅读全部
|
zhuqingting
贴于 2014年2月27日 17:42
hide
bbsi
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>
#include <malloc.h>
int main()
{
int i,j=0;
char* buf[7];
int jie[7][5];
......................
阅读全部
|
wp231957
贴于 2014年2月27日 16:50
hide
bbsi
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
char buf[512]={'\0'};
char ch;
int ptr=0;
int flag=0;
......................
阅读全部
|
wp231957
贴于 2014年2月26日 16:09
hide
bbsi
#include<stdio.h>
#include<stdlib.h>
int gcd(int x,int y)
//欧几里得辗转相除法求两数的最大的公约数
{
if(x<y) return gcd(y,x);
if(x%y!=0) return gcd(y,x%y);
else return y;
}
void cal_formul(char* x,char* y,char* z)
......................
阅读全部
|
wp231957
贴于 2014年2月25日 21:42
hide
bbsi
int gcd(int x,int y)
//欧几里得辗转相除法求两数的最大的公约数
{
if(x<y) return gcd(y,x);
if(x%y!=0) return gcd(y,x%y);
else return y;
}
阅读全部
|
wp231957
贴于 2014年2月25日 15:24
hide
bbsi
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <io.h>
#include <direct.h>
void getcmd(char* source,char* dest)
{
int i=0;
int j=0;
while(source[i]!=' ')
{
......................
阅读全部
|
wp231957
贴于 2014年2月23日 19:16
hide
bbsi
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char *argv[])
{
system("cls");
char cmd[128]={'\0'};
char th;
int ptr=0;
while(1)
......................
阅读全部
|
wp231957
贴于 2014年2月22日 21:10
hide
bbsi
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cjt2
{
class Program
{
static void Main(string[] args)
{
......................
阅读全部
|
wp231957
贴于 2014年2月21日 19:26
hide
bbsi
<script>
/*工厂模式是用于当很多对象都要调用一个对象里的各种共同方法时*/
var page = page || {};
page.dom = page.dom || {};
//子函数1:处理文本
page.dom.Text = function () {
this.insert = function (where) {
var txt = document.createTextNode(this.url);
where.appendChild(txt);
};
};
//子函数2:处理链接
......................
阅读全部
|
Fanklola
贴于 2014年2月21日 09:20
hide
bbsi