Di solito si esplicita l'intero path.
codice:Su Windows std::string filename = "C:/folder/esempio.txt"; su Unix et similia std::string filename = "/folder/esempio.txt"; myfile.open(filename.c_str()) // Crea il file
Di solito si esplicita l'intero path.
codice:Su Windows std::string filename = "C:/folder/esempio.txt"; su Unix et similia std::string filename = "/folder/esempio.txt"; myfile.open(filename.c_str()) // Crea il file
This code and information is provided "as is" without warranty of any kind, either expressed
or implied, including but not limited to the implied warranties of merchantability and/or
fitness for a particular purpose.