Skip to content

Instantly share code, notes, and snippets.

View Lukas-Heiligenbrunner's full-sized avatar

Lukas-Heiligenbrunner

View GitHub Profile
@vivithemage
vivithemage / boost_list_directory.cpp
Created March 12, 2014 22:18
list all files in directory with boost
#include <iostream>
#include "boost/filesystem.hpp"
using namespace std;
using namespace boost::filesystem;
int main(int argc, char *argv[])
{
// list all files in current directory.
//You could put any file path in here, e.g. "/home/me/mwah" to list that directory