summaryrefslogtreecommitdiff
path: root/tests/utils/test6.cpp
blob: 839f69bdc142eb2f1db742f78e9b3862e7bb89d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "FileUtils.hpp"

#include <iostream>
#include <algorithm>

using namespace std;

int main( void )
{
	vector<string> entries = directory_entries( "test6.DATA", true, true );
	
	sort( entries.begin( ), entries.end( ) );
	
	vector<string>::const_iterator it, end = entries.end( );
	for( it = entries.begin( ); it != end; it++ ) {
		cout << (*it) << endl;
	}
	
	return 0;
}