首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
#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
网页打开后显示的是”预约“界面 如何实现打开后直接显示“店铺秀

‘的内容
<!DOCTYPE html>
<html>
<head lang="en">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
    <meta content="telephone=no" name="format-detection"/>
......................
阅读全部 | suiyuacao88 贴于 2015年2月5日 19:04     hide bbsi
#include <iostream>
int main()
{
  int x = 5;
  int y = 7;
  std::cout << “\n“; 
  std::cout << x + y << “”<< x * y;
  std::cout << “\n”;
  return θ
阅读全部 | hhhhh焕 贴于 2015年2月3日 22:21     hide bbsi
<!DOCTYPE html>
<html>
<head>
<title>demo2html</title>
<meta charset="utf-8"/>
<style type="text/css">

</style>
</head>
<body>
<script type="text/javascript">
/*创建函数和字面量函数*/
......................
阅读全部 | chaiyesong 贴于 2015年1月29日 11:02     hide bbsi
#include <iostream>
using namespace std;
int main()
{
cout<<“rf”;
}
阅读全部 | 天使梦魔 贴于 2015年1月22日 20:25     hide bbsi
#include <iostream>
using namespace std;
int main()
{
cout<<“rf”;
}
阅读全部 | 天使梦魔 贴于 2015年1月22日 20:25     hide bbsi
上一页 208 209 210 211 212 213 214 215 216 217 下一页