Snippets has posted 5883 posts at DZone. View Full User Profile
A simple macro to print out a variable in c++
int x = 5;
string myString = "hello";
x = '5'
myString = 'hello'
#define prt(x) std::cout << #x " = '" << x << "'" << std::endl;
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...