Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

macro c++

#include <isotream>
#define print(x) std::cout << x << std::endl

int main(){
  std::string sentence = "Hello World!";
  print(sentence); // OUTPUT: Hello World!
}
 
PREVIOUS NEXT
Tagged: #macro
ADD COMMENT
Topic
Name
9+4 =