+ 4
Define not working
Any defined keyword in C++ is not working.. e.g: #define cout print https://code.sololearn.com/cqmhP92oRWOP/?ref=app
3 Answers
+ 3
You got the order wrong. It should be like this :
https://code.sololearn.com/cKC90BG4NprT/?ref=app
+ 4
Usman Khan you need to reverse the print and cout statements in #define.
+ 2
Do :
#define print cout
#define + expression to replace + replaced statment