0

I want to set a default snippets in Dev C++ like below -

// Author: Tirtharaj Ghosh
// Time: 1st July, 2021 08:06 PM
#include <bits/stdc++.h>

using namespace std;
int main(){

}

The problem is I cant add the current time as shown above. Any suggestions will be helpful. Thanks in advance.

  • mabye reconsider the first two lines of code. [Why should I not `#include `?](https://stackoverflow.com/questions/31816095/why-should-i-not-include-bits-stdc-h) and [Why is “using namespace std;” considered bad practice?](https://stackoverflow.com/questions/1452721/why-is-using-namespace-std-considered-bad-practice). I mean its your choice, but be aware that you put yourself in a corner of not writing portable C++ and invite subtle bugs. – 463035818_is_not_a_number Jul 01 '21 at 14:45

0 Answers0