For the headers, use this:
#include <iostream>
#include <fstream>
Type: Posts; User: frogblast
For the headers, use this:
#include <iostream>
#include <fstream>
Thanks, I got it now
Is there any way to find out if there's an active dial-up connection and the computer's online?
You could always try...
#include <windows.h>
..
CreateDirectory("txt",NULL);
SetCurrentDirectory("txt");
b_file.open("1.txt", ios::nocreate);
You need to dynamically allocate memory for a multi-dimensional array which can be tricky. I think the following is the correct way to do it but I'm not too good with that sort of thing.Also arrays...
If you want to scan for filenames then use the windows functions FindFirstFile and FindNextFile.
eg, get all .txt files in the c:\ directory
#include <windows.h>
#include <iostream.h>
int...