14 lines
366 B
C++
14 lines
366 B
C++
|
#include <iostream>
|
||
|
#include "glog_example.hpp"
|
||
|
|
||
|
int main(int argc, char* argv[])
|
||
|
{
|
||
|
FLAGS_alsologtostderr = true;
|
||
|
FLAGS_colorlogtostderr = true;
|
||
|
google::ParseCommandLineFlags(&argc, &argv, true);
|
||
|
google::InitGoogleLogging(argv[0]);
|
||
|
LOG(INFO) << "Hello from main.cpp!";
|
||
|
complex_calculation();
|
||
|
LOG(INFO) << "main function about to end!";
|
||
|
}
|