ATLAS Offline Software
Loading...
Searching...
No Matches
rcu_locate.cxx
Go to the documentation of this file.
1//
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at
4// http://www.boost.org/LICENSE_1_0.txt)
5
6// Please feel free to contact me (krumnack@iastate.edu) for bug
7// reports, feature suggestions, praise and complaints.
8
9
10//
11// includes
12//
13
15
16#include <iostream>
18
19//
20// method implementations
21//
22
23int main (int argc, char **argv)
24{
25 if (argc != 2)
26 {
27 std::cerr << "usage: " << argv[0] << " locations" << std::endl;
28 return 1;
29 }
30
31 std::cout << RCU::locate (argv[1]) << std::endl;
32 return 0;
33}
int main()
Definition hello.cxx:18
std::string locate(const std::string &locations)
effects: find the file with the given name from a list of locations separated by "::".
Definition Locate.cxx:28