Created
October 14, 2011 20:20
-
-
Save ziotom78/1288221 to your computer and use it in GitHub Desktop.
Double a floating-point value (with reference parameter)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
double | |
doubleThis(double & x) | |
{ | |
return x * 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment