首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
#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
uhasn
asdlka=s=da
asdm254132a
ase2864
阅读全部 | qq819587248 贴于 2014年2月18日 16:06     hide bbsi
Option Explicit
'Line3 表示时针
'Line1(1) 表示分针(长度960)
'Line2 表示秒针(长度1200)
'Timer 定时器周期1s
'Label2 标签显示当前系统时间
Dim xx1 As Integer '表盘圆心坐标
Dim yy1 As Integer
Dim MyTime, MyHour, MyMinute, MySecond As Integer '定义当前时间,时,分,秒
Dim S_ang, M_ang, H_ang As Single '定义角度变量
Dim S_rad, M_rad, H_rad As Single '定义弧度变量
Dim S_Length, M_Length, H_Length As Integer '定义表针长度变量
......................
阅读全部 | 水到渠成VB 贴于 2014年2月10日 14:56     hide bbsi
上一页 233 234 235 236 237 238 239 240 241 242 下一页