How would I make a macro that took a variable amount of arguments, and prints its out using std::cout? Sorry if this is a noob question, couldn\'t find anything that clarifi
You can try this one
#include #define LOG() std::cout int main() { LOG() << "Hello! " << "how " << "are " << "you " << std::endl; return 0; }
Output:
Hello! how are you