943,433 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 5896
  • C++ RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Jul 25th, 2004
0

Re: Unary Operators

Quote 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;
}
What is an int double?
Team Colleague
Reputation Points: 2780
Solved Threads: 312
long time no c
Dave Sinkula is offline Offline
4,790 posts
since Apr 2004
Jul 25th, 2004
0

Re: Unary Operators

lol, DUH!



Blah Blah Blah
Reputation Points: 10
Solved Threads: 0
Newbie Poster
.·)Tusky(·. is offline Offline
8 posts
since Jul 2004
Jul 25th, 2004
0

Re: Unary Operators

Tusky, please don't post nonsense posts. Thanks.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Unary operators
Next Thread in C++ Forum Timeline: Error C2734: 'Value' : const obje





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC