BITREX’18

Bitrex is back… get ready folks to smash it to bits again. Mark five days from April 9 to April 13 on your calendars as Bitrex’18 will keep you engrossed in a plethora of professional shows, competitions, lectures and workshops that have a lot to offer to everybody.

BITREX is the Annual Techincal Fest of Institute of Science, Banaras Hindu University. The theme of Bitrex this year is to prepare for a better future. Bitrex celebrates Future and it’s infinite possibilities with its theme this year. With code-a-thon, developer’s date, hack this site and a lot more events, Bitrex is working towards a better and a brighter future.

Visit our official site of BITREX’18. Register, participate in events, workshops and guest lectures…keep rocking!!

C Programming Workshop

A 7 day C Programming workshop is going to be organised at Computer Centre BHU.

Over the course of the workshop, participants will learn implementing logics in C programming language through lectures and hands-on sessions, supported by a team of mentors.

Venue: Computer Centre Lab
Timing: 5:00 pm to 6:30 pm
Date: 10-10-17 to 16-10-17

Important: Bring you laptops if possible.

Queries(if any):

← Back

Thank you for your response. ✨

 

Web Designing Workshop

web-design-workshop-1-728

Learn how to web design and make your own website in this workshop

Venue: LT Annex Building Department of CS ISc BHU

Date: 04-11-2016

Timing: 3 pm to 5 pm.

All the BHU students are invited.

← Back

Thank you for your response. ✨

bits/stdc++.h in C++

It is basically a header file that includes every standard library. In programming contests, using this file is a good idea, when you want to reduce the time wasted in doing chores; especially when your rank is time sensitive.
In programming contests, people do focus more on finding algorithm to solve a problem than on software engineering. From, software engineering perspective, it is a good idea to minimize the include. If you use it actually includes a lot of files, which your program may not need, thus increases both compile time and program size unnecessarily.

Disadvantages of bits/stdc++

  • bits/stdc++.h is not a standard header file of GNU C++ library. So, if you try to compile your code with some compiler other than GCC it might fail; e.g. MSVC do not have this header.
  • Using it would include a lot of unnecessary stuff and increases compilation time.
  • This header file is not part of the C++ standard, is therefore non-portable, and should be avoided.
  • Moreover, even if there were some catch-all header in the standard, you would want to avoid it in lieu of specific headers, since the compiler has to actually read in and parse every included header (including recursively included headers) every single time that translation unit is compiled.

Advantages of bits/stdc++

  • In contests, using this file is a good idea, when you want to reduce the time wasted in doing chores; especially when your rank is time sensitive.
  • This also reduces all the chores of writing all the necessary header files.
  • You don’t have to remember all the STL of GNU C++ for every function you use.

So, the user can either use it and save the time of writing every include or save the compilation time by not using it and writing necessary header files.