首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
/* just a test */
#include <stdio.h>

int main(int argc, char *argv[]){

    printf("Hello world");
    return 0;
}
阅读全部 | yl291145401 贴于 2011年11月1日 02:36     hide bbsi
<html>

    <head>

        <title>Mandango - The Macho Movie Ticket Finder </title>



        <script type="text/javascript">

            var seats = [ false,true,false,true,true,true,false,true,false ];

......................
阅读全部 | 维基解密 贴于 2011年11月1日 00:37     hide bbsi
单链表选首领问题
#include <stdio.h>
#include <stdlib.h>
struct node
{
    int code;
    struct node *next;
}NODE,*LinkList;
LinkList create_list(int n)
{
    LinkList head,p;
    int i;
......................
阅读全部 | N920786312 贴于 2011年10月31日 20:52     hide bbsi
%***************  生成输入信号  *****%
    f = 2000                  %设定基频率为2000HZ
    Fs=44100;                 %设定采样频率Fs=44.1kHz
    N=256;                    %取的样本点数N
    n=0:N-1;                  %建立矩阵
    t=n/Fs;                   %采样时间t
    w = 2*pi*f;
    T = 2*pi/w;                   %求出正弦函数的周期
    x1 = sin(w*t);
    x2 =awgn(x1,5,'measured');      %加入SNR为5dB的高斯白噪声得到输入信号x2
    xn =x2-x1;                    %间接获得白噪声xn

......................
阅读全部 | sugeladijq 贴于 2011年10月30日 10:26     hide bbsi
%***************  生成输入信号  *****%
    f = 2000                  %设定基频率为2000HZ
    Fs=44100;                 %设定采样频率Fs=44.1kHz
    N=256;                    %取的样本点数N
    n=0:N-1;                  %建立矩阵
    t=n/Fs;                   %采样时间t
    w = 2*pi*f;
    T = 2*pi/w;                   %求出正弦函数的周期
    x1 = sin(w*t);
    x2 =awgn(x1,5,'measured');      %加入SNR为5dB的高斯白噪声得到输入信号x2
    xn =x2-x1;                    %间接获得白噪声xn

......................
阅读全部 | sugeladijq 贴于 2011年10月30日 10:26     hide bbsi
#include<stdio.h>
main()
{printf("hello world!\n");
}
阅读全部 | 饭桶 贴于 2011年10月29日 22:07     hide bbsi
/*
计算a+aa+aaa+...+aa……aa,n表示a的位数
*/
#include<stdio.h>
int main()
{
    int n,a,i,c,tmp;char s[100000];
    while(scanf("%d%d",&a,&n)!=EOF)
    {
        c=0;
        for(i=0;i<n;i++)
        {
......................
阅读全部 | ppfly 贴于 2011年10月29日 21:51     hide bbsi
abcdefg
阅读全部 | 马甲1号 贴于 2011年10月29日 19:38     hide bbsi
#!/usr/bin/python
# -*- coding: UTF-8 -*

'''
传言需要写10万行代码才能真正熟手,统计一下你写了多少行代码了
把本代码保存为.py为后缀的文件放在你要统计的文件夹里面,双击运行即可,前提是你的系统装了python
注意要保存为UTF-8编码的文件
by BCCN.静夜思
'''

import os

......................
阅读全部 | 静夜思 贴于 2011年10月28日 09:24     hide bbsi
#include <windows.h>
#include <conio.h>
#include <iostream>
using namespace std;
#include <mmsystem.h>
#include <stdio.h>
#include <assert.h>
#pragma comment(lib,"winmm.lib")

#pragma warning(disable:4305)
#pragma warning(disable:4309)

......................
阅读全部 | longlong89 贴于 2011年10月28日 06:34     hide bbsi
上一页 307 308 309 310 311 312 313 314 315 316 下一页