Friday 3 August 2018

c++ - What are good alternatives to "using namespace std;"?

I understand that using namespace std; is problematic (e.g. from reading the answers to "Why is using namespace std considered bad practice?").



What are good alternatives to importing the standard namespace like that?



I'd like to know what I can do to improve my code.

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...