User Activity

  • Posted a comment on ticket #1004 on Code::Blocks

    +bool fileInPath(const wxString &filename) +{ + wxString pathValues; + wxGetEnv(_T("PATH"), &pathValues); + if (pathValues.empty()) + return false; + + const wxString &sep = platform::windows ? _T(";") : _T(":"); + wxChar pathSep = wxFileName::GetPathSeparator(); + const wxArrayString &pathArray = GetArrayFromString(pathValues, sep); + for (size_t i = 0; i < pathArray.GetCount(); ++i) + { + if (wxFileExists(pathArray[i] + pathSep + filename)) + } + return true; + } + { + return false; +} + EnvironmentSettingsDlg::EnvironmentSettingsDlg(wxWindow...

View All

Personal Data

Username:
techbaldhari021
Joined:
2022-04-07 05:27:12.066000
Location:
Pune / India / IST
Gender:
Male

Projects

  • No projects to display.

Personal Tools

Monday.com Logo