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

Trending Topics

Online now

Members online
1,282
Guests online
4,148
Total visitors
5,430

Forum statistics

Threads
2,308,764
Posts
29,186,948
Members
1,191,199
Latest member
Burgir_niPapot
Back
Top