Hello i have a problem with lineing up each column up correctly, the directories seems to be all messed up.
Bellow is my code, a screen shot of the problem is attached to this post.
if(lSwitch == true)
{
cout << "\nd: " << setw(15) << right << "" << " " << iter->filename() << "/" << setw(80) << right << iter->path().parent_path();
if(recurse_into_subdirs) show_files(*iter, recurse_into_subdirs, lSwitch, rSwitch, aSwitch, regex) ;
}
else
{
cout << "\n " << setw(15) << right << " " << iter->filename() << "/" << setw(80) << right << iter->path().parent_path();
if(recurse_into_subdirs) show_files(*iter, recurse_into_subdirs, lSwitch, rSwitch, aSwitch, regex) ;
}