Opens the file for writing only.Places the file pointer at the beginning of the file.and truncates the file to zero length. If files does notexist then it attempts to create a file.
Mở tập tin đối với văn bản chỉ. Nơi các tập tin con trỏ vào đầu của file.and truncates các tập tin để chiều dài không. Nếu tập tin không notexist sau đó nó cố gắng tạo ra một tập tin.
Mở tập tin để viết only.Places con trỏ tập tin vào đầu của file.and cắt các tập tin để không dài. Nếu tập tin không notexist sau đó nó cố gắng để tạo ra một tập tin.