Alright I have delted a single file but I want to try and delete a whole directory with files in it.
Here is the code I got so far...
yes yes I know tons of headers not sure wich ones I need. (Basicly my test headers)Code://Lots o headers please don't comment on them #include <iostream.h> #include <conio.h> #include <windows.h> #include <iomanip> #include <fstream.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <shellapi.h> using namespace std; int main() { typedef struct _SHFILEOPSTRUCT //SHFileOperation structure? { HWND hwnd; UINT wFunc; LPCTSTR pFrom; LPCTSTR pTo; FILEOP_FLAGS fFlags; BOOL fAnyOperationsAborted; LPVOID hNameMappings; LPCTSTR lpszProgressTitle; } SHFILEOPSTRUCT, *LPSHFILEOPSTRUCT; _SHFileOperation(_SHFILEOPSTRUCT); //deletes file }
ok so I got alot of non filled out junk. Can someone help me with that?
Edit: I really don't need them filled. I just need maybe 1 or 2 filled out to see how to properly fill them out.



LinkBack URL
About LinkBacks



