Thursday 4 April 2019

c++ - Difference between references and pointers







What does Class& mean in c++ and how is it different from Class*?



Class& foo;
Class* foo;

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...