pass by reference
- From: "angelochen960@xxxxxxxxx" <angelochen960@xxxxxxxxx>
- Date: Thu, 3 Apr 2008 23:07:50 -0700 (PDT)
Hi,
what is the equivalent of Java approach to this C++ function:
public void myFunc(String &s) {
s = "123";
}
I'd like to define a method where several values can be returned. any
idea?
Angelo
.
- Follow-Ups:
- Re: pass by reference
- From: Roedy Green
- Re: pass by reference
- From: Mark Space
- Re: pass by reference
- From: Chase Preuninger
- Re: pass by reference
- From: Roedy Green
- Re: pass by reference
- From: Donkey Hot
- Re: pass by reference
- Prev by Date: Content type of image
- Next by Date: Re: pass by reference
- Previous by thread: Content type of image
- Next by thread: Re: pass by reference
- Index(es):