tmp.c/common.h
Vincent Batts c91b7ee785
main: got the variable onto the heap ...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2025-02-10 16:52:07 -05:00

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: