This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes in C code how to get instance of class and invoke it's member method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "in C code how to get instance of class and invoke it Watch "in C code how to get instance of class and invoke it New topic
Author

in C code how to get instance of class and invoke it's member method

walter wang
Ranch Hand

Joined: Jun 02, 2001
Posts: 148
I saw example of calling class member method
but i dont know how to get instance of class in
c code


public class Walter { public boolean is_Working_Now (boolean is_boss_Coming) { return is_boss_Coming; }
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
And you are asking this in a JAVA forum?? :roll:


"JavaRanch, where the deer and the Certified play" - David O'Meara
jason
Greenhorn

Joined: Mar 16, 2003
Posts: 1
you just do
Identifier.Message( arg1, arg2....);
Identifier == object name
i dont believe its all taht different from java
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: in C code how to get instance of class and invoke it's member method
 
Similar Threads
Help, How much documentation is appropriate??
Difference between instace initializers and the member initializers
Object.class
double indirection
Confused with protected access