Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
why do we throw a reference to the object
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
sibtey
New Member
Join Date:
Aug 2006
Posts:
4
#1
why do we throw a reference to the object
Aug 29 '06, 04:02 AM
in the exception handeling if we pasing the object to the catch block it always passed by reference why?????
Banfa
Recognized Expert
Expert
Join Date:
Feb 2006
Posts:
9067
#2
Aug 29 '06, 12:57 PM
Because the reference guarantees that the object exists but a pointer doesn't.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment