Untitled

 avatar
unknown
c_cpp
a year ago
233 B
4
Indexable
#include <fstream>
#include <iostream>
#include <string>

int main()
{
    std::fstream plik( "write_test.tmp", std::ios::out );

    std::string text = "Zapis";

    plik << text;

    plik.close();

    return 0;
}
Editor is loading...
Leave a Comment