×

# How to add bits/stdc++.h in Dev C++

 0 I guess the #inlude is not present for Dev C++. Can anyone please help me out? Is there anyway in which we can do it manually? asked 07 Mar '14, 09:12 3★bipin2 3.1k●25●46●71 accept rate: 8%

 3 bits/stdc++.h is only usable in GCC versions (around > 4.2 or something like that). That being said latest mingw (GCC's windows port) does have that option. So either install and IDE that uses latest mingw by default (for example : CodeBlocks) or install devCPP and then seperately download latest mingw and install it (it's easily googlable how to do). Another option is installing Cygwin which comes with GCC. PS Note that your problem has nothing to do with devcpp, it only has to do with the fact that devcpp (probably) uses ancient version of mingw by default. answered 09 Mar '14, 16:07 575●1●5●11 accept rate: 13%
 1 Dev-C++ should use g++, right? It should be possible to include it directly by typing #include  (not with a billion typos like you did) If it doesn't work, try installing Cygwin (I suppose you're on Windows) and compiling there. answered 08 Mar '14, 00:16 7★xellos0 5.9k●5●43●93 accept rate: 10% Yea i am using Windows.... The problem is that it seems like that this Dev C++ has not been updated since it has been created....So even though it is g++ the bits/stdc++,h is not included in the header file list....I asked is there any-way in which we can create our own header file....I know it is possible...but don't know how it is done...:( shall i just create a header file of this name and add all the header files there and save it in the bin folder and simply call in the programme ?? (08 Mar '14, 10:10) bipin23★ You could. Or, as I said, you could just install Cygwin, which does have that header file, and compile with it instead of Dev-C++. (08 Mar '14, 16:43) xellos07★
 0 then here answered 08 Mar '14, 10:19 1★garakchy 1.1k●16●30●48 accept rate: 1%
 0 answered 02 Apr '14, 17:29 560●10●19●24 accept rate: 42%
 0 could you please explain me the use of this library:-#inlude bits stdc++.h="". thanks answered 16 Jun '14, 22:11 2★tabans 1 accept rate: 0% It includes all the necessary header files check in this link http://codeforces.com/blog/entry/8387 We need not add all the header files while taking part in a contest.This will help us save time.. Happy Coding (17 Jun '14, 10:14) bipin23★
 -1 not sure, but still suggest you to look at here: http://codeforces.com/blog/entry/8387 answered 07 Mar '14, 23:55 1★garakchy 1.1k●16●30●48 accept rate: 1%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Question tags:

×22

question asked: 07 Mar '14, 09:12

question was seen: 11,237 times

last updated: 17 Jun '14, 10:14