mardi 4 septembre 2018

What does this code mean "ofstream fout(getenv("OUTPUT_PATH"));"

I'm still new to cpp, and I will appericate if someone can help me to understand this line of code:

ofstream fout(getenv("OUTPUT_PATH"));

This code I saw almost every single Hacker Rank challange. What is the purpose of this code?

Aucun commentaire:

Enregistrer un commentaire