Joined
Last Seen
-4 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.76K
1 Posted Topic
[CODE]//create a text file with comand line argument(Turbo c++) #include<fstream.h> #include<iostream.h> int main(int argc, char *argv[]) { if(argc!=2) { cout<<"Syntext error.....!"; cout<<"Typing should be: create filename"<<endl; return(0); } ofstream outf(argv[1]); char line[80]; cout<<"Enter a string:(Programing should be tarminate by press !')\n"; do { cin.getline(line,80); outf<<line<<endl; }while(*line != '!'); cout<<"Create the …
The End.
santanu@code