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

Trending Topics

Online now

Members online
1,033
Guests online
1,752
Total visitors
2,785

Forum statistics

Threads
2,286,582
Posts
29,038,742
Members
1,217,057
Latest member
Hahahahahahnba2k20
Back
Top