Author |
Message |
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Fri Jan 16, 2009 5:31 pm Post subject: casting |
|
|
|
|
ive always been curious, but never enough to look, whats the difference between
(casting)stuff
and
stuff<casting>()? _________________ SSC Distension Owner
SSCU Trench Wars Developer |
|
Back to top |
|
|
Bak ?ls -s 0 in
Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Fri Jan 16, 2009 7:43 pm Post subject: |
|
|
|
|
One is a C cast, the other is a C++ cast. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
|
Quan Chi2 Member of "Sexy Teenagers that Code" Group
Age:33 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Sat Jan 17, 2009 6:23 pm Post subject: |
|
|
|
|
() is C.
<> is C++. |
|
Back to top |
|
|
hellzlaker Registered Cap Buster Popping men in the ass since Oct 2005
Gender: NEVER ENOUGH! Joined: Oct 27 2005 Posts: 34 Offline
|
Posted: Mon Feb 09, 2009 10:37 pm Post subject: |
|
|
|
|
what is the difference because to me it seems that C++ way is just longer... |
|
Back to top |
|
|
|