首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看C++
#include<iostream>
using namespace std;

int main(){
return 0;
}
阅读全部 | tanzhizhong 贴于 2018年10月2日 10:54     hide bbsi
#include<iostream>
using namespace std;
#include<cmath>
double jud(double Y[],int n,double T[],int j,float c,float d);
void main()  
{
int z;
float x;
double m,l;
float c,d;
double *T=new double[z];
double *Y=new double[z];
......................
阅读全部 | 川费 贴于 2018年9月12日 22:36     hide bbsi
#include <iostream>
#include <cstdio>

using namespace std;

int main()
{
    int n, m;
    while(scanf("%d %d", &n, &m) != EOF)
    {
        int temp = 0, s = 0, k = 0;
        int arr[50] = {0}, brr[50] = {0};
......................
阅读全部 | 星磊99 贴于 2018年8月20日 17:16     hide bbsi
#include<iostream> 
#include<string>
#include<cstring>
#include<cstdlib>
using namespace std;
void strcopy(string string1,string string2);
void writefile(string string3); 
int main(){
string string1;
string string2;
cout<<"enter the 1st string\n";
cin>>string1;
......................
阅读全部 | cstdio 贴于 2018年8月13日 13:28     hide bbsi
// 打飞机.cpp : Defines the entry point for the console application.
//
#include<iostream>  
#include<windows.h>  
#include<conio.h>  
#include<time.h>  
#include<string>  
using namespace std;  
  
/*=============== all the structures ===============*/  
  
typedef struct Frame  
......................
阅读全部 | cstdio 贴于 2018年8月8日 12:09     hide bbsi
//assert.h
/* 
 * assert.h
 * This file has no copyright assigned and is placed in the Public Domain.
 * This file is a part of the mingw-runtime package.
 * No warranty is given; refer to the file DISCLAIMER within the package.
 *
 * Define the assert macro for debug output.
 *
 */

#ifndef _ASSERT_H_
......................
阅读全部 | cstdio 贴于 2018年7月23日 12:03     hide bbsi
#include<bits/stdc++.h>
using namespace std;

int main()
{
ios::sync_with_stdio(0);
int ppss,cpss,win,i=1,pcnt=0,ccnt=0;
char temp1,temp2='a';
string name;
cout<<"欢迎来到石头剪刀布[版本v1.5.2]!\n\n请注意:在后续游戏中输入完毕后请按回车键表示输入完毕,\n并且请严格按照要求输入,\n否则将会自动结束并退出游戏。\n\n请输入尊姓大名:" ; 
cin>>name;
while(temp2=='a'){
......................
阅读全部 | 李大恕 贴于 2018年7月7日 20:42     hide bbsi
#include <iostream>
#include <conio.h>
#include <ctime>
#include <windows.h>
using namespace std;
const int ROW = 20;
const int line = 35;
class snake;
class Node
{
private:
Node() :x(0), y(0), llink(NULL), next(NULL){}
......................
阅读全部 | 小虫笨 贴于 2018年6月22日 22:23     hide bbsi
#include<iostream>
using namespace std;

int main()
{
int L, N, C, T, VR, VT1, VT2;
while (cin >> L) {
cin >> N >> C >> T;
cin >> VR >> VT1 >> VT2;
int *p = new int[N];
p[1] = 0;
double *num = new double[(int)pow(2, N)];
......................
阅读全部 | nono12138 贴于 2018年5月7日 23:52     hide bbsi
#include<windows.h>  
#include<time.h>  
#include<stdlib.h>  
#include<conio.h>  
#define N 21  
#include<iostream>  
using namespace std;   
void gotoxy(int x,int y)//位置函数  
{  
COORD pos;  
pos.X=2*x;  
pos.Y=y;  
......................
阅读全部 | 进击的种子 贴于 2018年4月15日 18:41     hide bbsi
上一页 14 15 16 17 18 19 20 21 22 23 下一页