首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Calculator
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
......................
阅读全部 | WIHATOW 贴于 2015年3月5日 18:36     hide bbsi
/*代码包含的函数库申明*/
#include<stdio.h>
#include <dos.h>

/*定义影片信息结构体*/
typedef struct //影片info
{
char No[10];
char name[10];
int state;
}DI;

......................
阅读全部 | 易庄周 贴于 2015年3月4日 16:45     hide bbsi
/**
 * Provides a method to encode any string into a URL-safe
 * form.
 * Non-ASCII characters are first encoded as sequences of
 * two or three bytes, using the UTF-8 algorithm, before being
 * encoded as %HH escapes.
 * <p/>
 * Created: 17 April 1997
 * Author: Bert Bos <bert@w3.org>
 * <p/>
 * URLUTF8Encoder: http://www.w3.org/International/URLUTF8Encoder.java
 * <p/>
......................
阅读全部 | 日知己所无 贴于 2015年2月28日 23:12     hide bbsi
<html>

<head>
<title>Hello world</head>

</head>
<body style="background-color:'yellow'">
<h1>I love you
</h1>
</body>

</html>
阅读全部 | 左文波 贴于 2015年2月28日 11:20     hide bbsi
//链表节点
typedef struct Node*{
    char elem;
    struct Node* next;
};
//创建单链表
Node* CreateList(Node* head){
    if(NULL == head){
        head = (Node*)malloc(sizeof(Node));
        head->next = NULL;
    }
    Node* current = head,*temp;
......................
阅读全部 | aiyifan 贴于 2015年2月24日 21:56     hide bbsi
#include<stdio.h>
#include<iostream.h>
double fun(double a,double b,double c)
{
double t;
if(a<b)
{t=a;a=b;b=t;}
if(a<c)
{ t=a;a=c;c=t;}
if(b<c)
{ t=b;b=c;c=t;}
return 1.0;
......................
阅读全部 | 雪中立松 贴于 2015年2月17日 20:39     hide bbsi
#include<iostream>
#include<cmath>
#include<bitset>

using namespace std;
int main()
{
int const max_number(100);
int const max_test((int)sqrt ((double)max_number));
bitset<max_number+1> numbers;//101个0
numbers.set();//101个1
numbers[1]=0;
......................
阅读全部 | scufnzy 贴于 2015年2月16日 14:32     hide bbsi
#include <stdio.h>
#define MAXLINE 40
#define LEN 61
void gettext(char (*t)[LEN],int *m)
{ int n;
  printf("Enter textline,ended to empty line:\n");
  n=0;
  gets(t[n]);
  while(*t[n])
  { n++;gets(t[n]);
  *m=n;
  }
......................
阅读全部 | 邵蜜柚 贴于 2015年2月12日 20:03     hide bbsi
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#define FILE_PATH "D:\\demo.txt"  // 文件路径
int main(){
    char name[20];  // 姓名 
    int age;  // 年龄 
    int studNo;  // 学号 
    float score;  // 平均分 
    FILE *fp;  // 文件指针 
   
    // 判断文件是否能够正确创建/打开 
......................
阅读全部 | yangzhen1001 贴于 2015年2月6日 14:43     hide bbsi
#include <iostream>
using namespace std;
#include <string>
string name[50];
string num[50];
int n; 

int main(){
void putin();
void putout(string findName);
string findName;
cout<<"Please putin the number of the class:";
......................
阅读全部 | 我我哦我 贴于 2015年2月6日 12:56     hide bbsi
上一页 203 204 205 206 207 208 209 210 211 212 下一页