| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1906 人关注过本帖
标题:<bits/stdc++.h>修改版!
只看楼主 加入收藏
root2008
Rank: 2
等 级:论坛游民
帖 子:35
专家分:31
注 册:2018-8-7
结帖率:100%
收藏
 问题点数:0 回复次数:6 
<bits/stdc++.h>修改版!
程序代码:
// C++ includes used for precompiling -*- C++ -*-

// Copyright (C) 2003-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library.  This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.

// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.

// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
// <http://www.>.

/** @file stdc++.h

 *  This is an implementation file for a precompiled header.

 */

// 17.4.1.2 Headers

// C
#ifndef _GLIBCXX_NO_ASSERT
#include <cassert>
#endif
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>

#if __cplusplus >= 201103L
#include <ccomplex>
#include <cfenv>
#include <cinttypes>
#include <cstdalign>
#include <cstdbool>
#include <cstdint>
#include <ctgmath>
#include <cwchar>
#include <cwctype>
#endif

// C++
#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>

#if __cplusplus >= 201103L
#include <array>
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <forward_list>
#include <future>
#include <initializer_list>
#include <mutex>
#include <random>
#include <ratio>
#include <regex>
#include <scoped_allocator>
#include <system_error>
#include <thread>
#include <tuple>
#include <typeindex>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#include<windows.h>
#include<mmsystem.h>
using namespace std;
#endif


如有错误,请多指教!
搜索更多相关主题的帖子: c++ include This the Library 
2018-09-07 20:34
root2008
Rank: 2
等 级:论坛游民
帖 子:35
专家分:31
注 册:2018-8-7
收藏
得分:0 
原文件是用了DEV的<bits/stdc++.h>
2018-09-07 20:35
Jonny0201
Rank: 11Rank: 11Rank: 11Rank: 11
等 级:贵宾
威 望:52
帖 子:488
专家分:2603
注 册:2016-11-7
收藏
得分:0 
支持一下
适用范围比较小
只适用于个人的作业或者 ACM 比赛
稍微大的工程肯定就不行了
另外, 平台被限制在 Windows
2018-09-07 20:45
MC189
Rank: 1
等 级:新手上路
帖 子:12
专家分:7
注 册:2018-8-24
收藏
得分:0 
最好把using namespace std 放到#endif 后面
2018-09-16 15:30
cstdio
Rank: 5Rank: 5
来 自:上海市静安区
等 级:贵宾
威 望:15
帖 子:97
专家分:44
注 册:2018-5-30
收藏
得分:0 
最好把using namespace std 放到#endif 后面

import random
i=random.randint(100,100000)
print i
2018-09-16 15:53
cstdio
Rank: 5Rank: 5
来 自:上海市静安区
等 级:贵宾
威 望:15
帖 子:97
专家分:44
注 册:2018-5-30
收藏
得分:0 
最好把using namespace std 放到#endif 后面

import random
i=random.randint(100,100000)
print i
2018-09-16 15:53
root2008
Rank: 2
等 级:论坛游民
帖 子:35
专家分:31
注 册:2018-8-7
收藏
得分:0 
谢谢
2018-09-22 09:57
快速回复:<bits/stdc++.h>修改版!
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.022644 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved