🔒 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
  • 503
    Views
  • 2
    Participants
Last reply from:
Block_MC

Trending Topics

Online now

Members online
1,009
Guests online
3,952
Total visitors
4,961

Forum statistics

Threads
2,332,058
Posts
29,262,215
Members
1,146,030
Latest member
fbstreamobs
Back
Top