| | |
Unary Operators
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
•
•
Originally Posted by meabed
#include <iostream> using namespace std; int double Square (double Value); int main () { double Number, SquaredNumber; Number = 5; SquaredNumber = Square (Number); cout << SquaredNumber << endl; return 0; } int double Square (double Value) { double SquareReturn; SquareReturn = Value * Value; return SquareReturn; }
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
Tusky, please don't post nonsense posts. Thanks.
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
![]() |
Similar Threads
- Definitions Some C++ operators (C++)
- please helpme i have small doubt in post and pre increment operators (C)
- Unary operators (C++)
Other Threads in the C++ Forum
- Previous Thread: Unary operators
- Next Thread: Error C2734: 'Value' : const obje
| Thread Tools | Search this Thread |
api application array arrays based binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete deploy developer dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game generator getline givemetehcodez graph gui homeworkhelp iamthwee ifstream input int java lib linker list loop looping loops map math matrix memory multiple news node number numbertoword output pointer problem program programming project python random read recursion recursive reference rpg simple sorting string strings temperature template text text-file tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






