Pointer declaration for class, C/C++ Programming

Pointer declaration for Class:

M m;

M *pm; //Class M is declared as pointer pm=&m;//Pointer class is assigned to a class

Posted Date: 9/20/2012 8:02:10 AM | Location : United States







Related Discussions:- Pointer declaration for class, Assignment Help, Ask Question on Pointer declaration for class, Get Answer, Expert's Help, Pointer declaration for class Discussions

Write discussion on Pointer declaration for class
Your posts are moderated
Related Questions
A: Use std::ios::binary. Some operating systems differentiate among text and binary modes. In text mode, end-of-line sequences and perhaps other things are translated; in binary

What are header files? What are their uses? - Header files are also known as library files. - They carry two significant things: definitions and prototypes of functions bein

2. a) Define a structure to store roll no, name and marks of a student. b) Using the structure of Q2. a), above write a ''C'' program to create a file "student.dat". There must be

The program sorting.cpp contains a main function for testing the operation of several sort algorithms over various data sizes and data set organisations. The program understands

#questi An array of n numbers is given, where n is an even number. The maximum as well as minimum of these given numbers need to be determined. Which of the following is true about


A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Pls i only need help with program 2. #include #include using namespace std; int main() { int FilingStatus; cout cout cout cout cout cout

External Variables Different functions of the similar program can be written in different source files and can be compiled together. The scope of a global variable is not limit

Program to draw a circle: int main(void) {    /* request auto detection */    int gdriver = DETECT, gmode, errorcode;    int midx, midy;    int radius = 100;