Skip to content

Instantly share code, notes, and snippets.

@kalman5
Created February 16, 2014 09:24
Show Gist options
  • Save kalman5/9031664 to your computer and use it in GitHub Desktop.
Save kalman5/9031664 to your computer and use it in GitHub Desktop.
DoublePrinter
class DoublePrinter {
public:
void print(double aDouble) {
std::cout << "Value is: " << aDouble << std::endl;
}
};
DoublePrinter dp;
dp.print(3.3f);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment