can we send the input from command prompt screen to the text file in C++ if anyone know plz tell me about it briefly
sana_akram
0
Newbie Poster
Recommended Answers
Jump to Post#include <cstdlib> int main( void ) { system( "dir>output.txt" ); return 0; }
Jump to PostProblem #1: Your title. See this
can we send the input from command prompt screen ...
Problem #2: A command prompt screen does not contain input. A screen is an output device.
....to the text file in C++
Problem #3: C++ does not contain a text file. C++ can …
All 5 Replies
twomers
408
Posting Virtuoso
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
sana_akram
0
Newbie Poster
ithelp
757
Posting Virtuoso
Banned
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.