#include <iostream>
#include <cassert>
using std::string;
using std::cout;
using std::endl;

int main(int argc,char* argv[]) 
{
	assert(argc>0);
    static constexpr char levels_dir[]="levels";
    static constexpr char slashes[]="/\\";

    const string bin_path(argv[0]);
    const auto slash_position = bin_path.find_last_of(slashes);
    assert(slash_position!=string::npos);
    const auto levels_path    = bin_path.substr(0,slash_position+1) 
                              + levels_dir
                              + bin_path[slash_position];
                              
	cout << "Bin path: "     << bin_path    << endl 
	     << "Levels_path: "  << levels_path << endl;
	
	return 0;
}