Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Java in comparison to C++ Question Pin
S van Leent19-Nov-02 7:31
S van Leent19-Nov-02 7:31 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 18:24
Swinefeaster18-Nov-02 18:24 
GeneralRe: Java in comparison to C++ Question Pin
Christian Graus18-Nov-02 18:59
protectorChristian Graus18-Nov-02 18:59 
GeneralRe: Java in comparison to C++ Question Pin
Joaquín M López Muñoz18-Nov-02 19:57
Joaquín M López Muñoz18-Nov-02 19:57 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 20:17
Swinefeaster18-Nov-02 20:17 
GeneralRe: Java in comparison to C++ Question Pin
Joaquín M López Muñoz18-Nov-02 20:52
Joaquín M López Muñoz18-Nov-02 20:52 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 21:21
Swinefeaster18-Nov-02 21:21 
GeneralRe: Java in comparison to C++ Question Pin
Joaquín M López Muñoz18-Nov-02 21:59
Joaquín M López Muñoz18-Nov-02 21:59 
Lol that is really really weird. Are you sure it works that way? So I have to make a whole separate class just to pass a pointer back?

I'm sure. This is how things are in Java. The idiom seems a little strange at first, but Java programmers are used to it. C# provides references to handle this problem, I think (I'm no expert in either language).

Also.... do I have to explicitly call Finalize() on Socket objects? I thought perhaps it all "just gets taken care of" with the garbage collector... No?

You should never call Finalize yourself, this is done by the garbage collector. Java docs are not specific about this, but my hunch is that Socket.Finalize actually closes the socket (you might want to ask on some Java forum, they'll surely know).



Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: Java in comparison to C++ Question Pin
S van Leent19-Nov-02 7:36
S van Leent19-Nov-02 7:36 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 21:58
Swinefeaster18-Nov-02 21:58 
GeneralRe: Java in comparison to C++ Question Pin
Alexandru Savescu19-Nov-02 4:18
Alexandru Savescu19-Nov-02 4:18 
GeneralRe: Java in comparison to C++ Question Pin
Alvaro Mendez19-Nov-02 5:25
Alvaro Mendez19-Nov-02 5:25 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster19-Nov-02 14:29
Swinefeaster19-Nov-02 14:29 
GeneralMouse hover question Pin
David Ensminger18-Nov-02 16:42
David Ensminger18-Nov-02 16:42 
Generala question about two CPU... Pin
liuty200618-Nov-02 16:27
liuty200618-Nov-02 16:27 
GeneralRe: a question about two CPU... Pin
Christian Graus18-Nov-02 16:59
protectorChristian Graus18-Nov-02 16:59 
GeneralRe: a question about two CPU... Pin
liuty200618-Nov-02 17:57
liuty200618-Nov-02 17:57 
GeneralRe: a question about two CPU... Pin
Christian Graus18-Nov-02 18:01
protectorChristian Graus18-Nov-02 18:01 
Questiontrigger erase of background? Pin
Anonymous18-Nov-02 16:25
Anonymous18-Nov-02 16:25 
AnswerRe: trigger erase of background? Pin
Christian Graus18-Nov-02 16:36
protectorChristian Graus18-Nov-02 16:36 
GeneralRe: trigger erase of background? Pin
Anonymous18-Nov-02 16:47
Anonymous18-Nov-02 16:47 
GeneralRe: trigger erase of background? Pin
Christian Graus18-Nov-02 16:57
protectorChristian Graus18-Nov-02 16:57 
GeneralRe: trigger erase of background? Pin
Anonymous18-Nov-02 19:08
Anonymous18-Nov-02 19:08 
GeneralRe: trigger erase of background? Pin
Anonymous18-Nov-02 19:36
Anonymous18-Nov-02 19:36 
GeneralMDI: Not opening a new document on startup Pin
Le centriste18-Nov-02 16:15
Le centriste18-Nov-02 16:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.