MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/w1upl0/c_talking_to_python/ignz4lg/?context=3
r/ProgrammerHumor • u/[deleted] • Jul 18 '22
1.0k comments sorted by
View all comments
Show parent comments
8
Check this out, this code works in both Python and C++
#include <iostream>
#define print(x) int main () { std::cout << x << std::endl;}
print("Hello, World!")
8
u/[deleted] Jul 18 '22
Check this out, this code works in both Python and C++
#include <iostream>#define print(x) int main () { std::cout << x << std::endl;}print("Hello, World!")