Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ostream error. Can anybody debug this?
- int main ()
- {
- FILE * pFile;
- pFile = fopen ("myfile.txt","w");
- if (pFile!=NULL)
- {
- fputs ("fopen example",pFile);
- fclose (pFile);
- }
- pFile<< "r "<<" " <<"ggjjsss" <<'_'<<"gggjj"<< " " << "HLLO " <<endl;
- }
- #include<fstream>
- ofstream File("myfile.txt");
- File<< "r "<<" " <<"ggjjsss" <<'_'<<"gggjj"<< " " << "HLLO " <<endl;
Add Comment
Please, Sign In to add comment