16 lines
389 B
C++
16 lines
389 B
C++
|
|
#ifndef COMMON_H_INCLUDED_
|
|
#define COMMON_H_INCLUDED_
|
|
|
|
#include <iostream>
|
|
|
|
// https://www.geeksforgeeks.org/cpp-macros/#
|
|
|
|
#define log_out(hurr) \
|
|
std::cout << "[" << __FILE__ << ":" << __LINE__ << "] " << hurr << std::endl;
|
|
#define log_err(hurr) \
|
|
std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] " << hurr << std::endl;
|
|
|
|
#endif // COMMON_H_INCLUDED_
|
|
|
|
// vim:set sts=2 sw=2 et:
|