首页 > 编程语言 > 详细

【实用】Dev C++编译器属性代码缺省源样例代码

时间:2014-08-04 21:22:20      阅读:464      评论:0      收藏:0      [点我收藏+]

这是我刚刚发明的东西,比较好用。。。

 

源代码复制到Dev C++编译器属性的代码缺省源内即可。。

用法:

包含常用头文件和ctime时间监控插件,常用缩写,快速读入,测试输出函数两个,读入函数,文件读入读出函数,work函数,主函数,还定义了所有的字母变量和常用的其他数组之类的变量。。

上手很快,功能强大。。大家自己做一点补充吧。。

那些模板不想放进来,免得A+B都有好几K。。

 

#include<iostream>
#include<cstdlib>
#include<cstdio>
#include<algorithm>
#include<cmath>
#include<map>
#include<stark>
#include<queue>
#include<ctime>
#include<cstring>
#define ll long long
#define inf 0x7fffffff
int N,M;
int i,j,k,p,q,l,r,s,t,x,y,xx,yy,start,end,head,tail,left,right,use,tmp,sum,ans;
int board[][];
int a[][];
int value[][];
bool b[][];
int temp[][];
using namespace std;

inline int read()
{
    int x=0;char ch=getchar();
    while(ch>9||ch<0)ch=getchar();
    while(ch>=0&&ch<=9){x=x*10+ch-0;ch=getchar();}
    return x;
}
inline void stdinout()
{
    freopen("in.txt","r",stdin);
    freopen("out.txt","w",stdout);
}
//------------------------------------------------------------
void test1()
{
}

void test2()
{
}
//------------------------------------------------------------
void readin()
{
    stdinout();
    n=read();
    for (i=1;i<=n;i++)
    {
    }
}
//------------------------------------------------------------
void work()
{
}
//------------------------------------------------------------
int main()
{
    
    return 0;
}

 

【实用】Dev C++编译器属性代码缺省源样例代码,布布扣,bubuko.com

【实用】Dev C++编译器属性代码缺省源样例代码

原文:http://www.cnblogs.com/seekdreamer/p/3890949.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!