|
-
May 18th, 2011, 08:59 AM
#1
How do I handle this error with ifstream and ofstream??
I make a simple program with file I/O.
So I use ifstream and ofstream.
So I coded
std::ifstream file_in("input.txt");
std: fstream file_out("output.txt");
(input.txt and output.txt is at same dir that contains my program)
.
But when my program run, it can`t open that files.
HOW DO I HANDLE THIS ERROR???
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|