Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  hola
Language: C/C++
Code:
#include <iostream>
#include <fstream>
using namespace std;
main(){
ofstream archsal (copi.txt);
if(!archsal){
cerr<<"no se puede abrir archivo copi.txt"<<endl;
return -1;
}
char car;
while(cin.get(car))
archsal.put(car);

}
          
Comments: