int X, & Y = X ; Y = 5 ;
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > int X, & Y = X ; Y = 5 ;




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    int X, & Y = X ; Y = 5 ;  
Jeff Relf


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-04 02:22 AM

Hi Mike Cox,

comp.unix.programmer ?

Why seattle.general ?

After this C++ code:

int X, & Y = X ;  Y = 5 ;

X now has 5 in it...  Because Y was bound to X.

Y refers to X, and vice versa.







[ Post a follow-up to this message ]



    Re: int X, & Y = X ; Y = 5 ;  
General Protection Fault


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-04 02:22 AM

["Followup-To:" header set to comp.os.linux.advocacy.]
On 21 Sep 2004 17:49:47 GMT, Jeff Relf wrote:
> Hi Mike Cox,
>
> comp.unix.programmer ?
>
> Why seattle.general ?
>
> After this C++ code:
>
>   int X, & Y = X ;  Y = 5 ;
>
> X now has 5 in it...  Because Y was bound to X.

No, it's not "binding."

> Y refers to X, and vice versa.

No, not vice versa.  Y refers to X, but X is just a stupid int.


--
FreeBSD 4.8-RELEASE i386
12:55PM  up 10 days, 19:18, 0 users, load averages: 0.00, 0.00, 0.00





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:16 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register