Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,121 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,757 people online right now. Registration is fast and FREE... Join Now!




Creating a object

 
Reply to this topicStart new topic

Creating a object

kingcobra4
17 Apr, 2007 - 10:45 AM
Post #1

New D.I.C Head
*

Joined: 17 Apr, 2007
Posts: 5


My Contributions
What is the code for creating a object in C++, or is there a link that gives the code for creating one?

This post has been edited by kingcobra4: 17 Apr, 2007 - 10:46 AM
User is offlineProfile CardPM
+Quote Post

William_Wilson
RE: Creating A Object
17 Apr, 2007 - 10:54 AM
Post #2

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 3,984



Thanked: 16 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
an object is just any code within a class which can be instantiated. You can call methods from other objects/classes based on a relative/pointer basis instead of using static calls.
The dynamic methods to be reached from other objects need to be public as private are only accessable from within the same class.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/1/08 10:08PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month