libsequence
1.9.5
libsequenceConfig.cc
1
#include <config.h>
2
#include <iostream>
3
#include <string>
4
#include <cstdlib>
5
6
using namespace
std
;
7
8
//From config.h
9
static
const
std::string LIBSEQ_VERSION(VERSION);
10
11
int
main(
int
argc,
char
** argv)
12
{
13
if
(argc==1)
14
{
15
cerr <<
"usage:\n"
16
<<
"\t--version\tPrint out version number and exit\n"
;
17
exit(EXIT_SUCCESS);
18
}
19
20
string
av1(argv[1]);
21
if
( av1 ==
"--version"
) cout << LIBSEQ_VERSION <<
'\n'
;
22
23
exit(EXIT_SUCCESS);
24
}
std
STL namespace.
src
libsequenceConfig.cc
Generated on Thu Sep 13 2018 15:07:05 for libsequence by
1.8.13