Guest User

Untitled

a guest
Aug 10th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. Formatting a filename for fopen
  2. void CProfiler::ExecuteIrFile( LPCTSTR pszFile)
  3. {
  4. FILE *fp = fopen( pszFile, "r");
  5. if ( !fp) return;
  6. }
  7.  
  8. CString tempStr(pszFile);
  9. tempStr.Replace("\", "\\");
  10. FILE *fp = fopen( tempStr, "r");
Add Comment
Please, Sign In to add comment