I would like to write this piece of code using listings package:
However I have some problems:
- I cannot set the grouper symbol;
- The
0does not have the diagonal slash.
The size of the code has to be \scriptsize or something like that.
The MWE that I use is this ShareLaTeX document.
Or is there any snippet created that copy the style of Dev-C++?
Thanks!

pdfLaTeX. – manooooh Jul 21 '18 at 09:09