nonono I know your not telling me to change my code, I just want to start doing this .......... the right way... Anyways... so the header would be likeOriginally Posted by LinuxCoder
You were helping me out... it was my choice to pursue your advice.Code:/*SecuritySuite.h*/ #ifndef _SecuritySuite_H_ #define _SecuritySuite_H_ /*____________________________________________ ______________________________________________ Just the little functions. ______________________________________________ ____________________________________________*/ int GetFileSize(std::string File) /*____________________________________________*/ void Delete(std::string File) /*____________________________________________*/ int GetDiskSize(std::string Dir) /*____________________________________________*/ void DisplayOptions() /*____________________________________________*/ void NotAvailable() /*____________________________________________*/ bool CheckDriveLetterInput(std::string Dir, bool Loop) /*____________________________________________*/ bool FileCheck(std::string File) /*____________________________________________*/ bool RestartOption(std::string File,std::string Dir) /*____________________________________________ ______________________________________________ Now for the three main functions, almost identical to each other. ______________________________________________ ____________________________________________*/ void SDCrestartTrue(std::string File, std::string Dir) /*____________________________________________*/ void SDCrestartFalse(std::string File, std::string Dir) /*____________________________________________*/ void SDCstart(std::string File, std::string Dir) /*____________________________________________*/ #endif



LinkBack URL
About LinkBacks




