|
1234567891011121314151617181920 |
- #include <iostream> /**< std::cout std::cerr std::endl */
- #include <string> /**< std::string */
-
- #include "dbcc/dbc_iterator.h"
-
- const std::string usage = "This parser is meant to be used via CLi at the moment\n"
- "\t./parser <FILE>\n";
-
- int main(int argc, char *argv[])
- {
- if (argc < 2)
- {
- std::cout << usage << std::endl;
- return 0;
- }
-
- ad::dbcc::DbcIterator iter(argv[1]);
- std::cout << iter << std::endl;
- return 0;
- }
|