Anyone know C++ ?
Ive just started to learn C++ and am trying to write a program
to report / rename any of my adf files that are over 64 chars long to < 64 chars (So I can put them on cd)
Code Ive done so far..
int main(int argc, char *argv)
int ofn_length = 0; // Old filename length
old_file_name = argv;
ofn_length = strlen(old_file_name);
cout << "Arg count = " << argc << "\n" ;
cout << "File name passed in = " << old_file_name << "\n";
cout << "Length of file name = " << ofn_length << "\n" ;
cin >> temp;
Problem is when I call my program passing in filenames, the filenames passed in are the dos 8:3 format and not the long format.
Any help would be appreciated.