๐Ÿ”’ Closed Patulong po C programming

Status
Not open for further replies.
na try mo na to ts?
C++:
// using ofstream constructors.
#include <iostream>
#include <fstream> 

std::ofstream outfile ("test.txt");

outfile << "my text here!" << std::endl;

outfile.close();

Reference: You do not have permission to view the full content of this post. Log in or register now.
 
na try mo na to ts?
C++:
// using ofstream constructors.
#include <iostream>
#include <fstream>

std::ofstream outfile ("test.txt");

outfile << "my text here!" << std::endl;

outfile.close();

Reference: You do not have permission to view the full content of this post. Log in or register now.
okay na lods, pero need dapat name ng student after user input then automatic siya mag lagay ng .txt
Thank you! Nagawa ko na hehe
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 477
    Views
  • 2
    Participants
Last reply from:
Block_MC

Online now

Members online
1,004
Guests online
1,131
Total visitors
2,135

Forum statistics

Threads
2,276,159
Posts
28,967,949
Members
1,231,144
Latest member
jonreipogi
Back
Top