Arrays within a class, C/C++ Programming

Arrays within a class:

It is just declaring or constructing a derived type array inside the class.  It works similar

to regular array.

const int size=10;

class array

{int a[size]; Public:

void setval(void);

void display(void);

};

Posted Date: 9/20/2012 7:54:05 AM | Location : United States







Related Discussions:- Arrays within a class, Assignment Help, Ask Question on Arrays within a class, Get Answer, Expert's Help, Arrays within a class Discussions

Write discussion on Arrays within a class
Your posts are moderated
Related Questions
how we use the cin command and why we use this command????

to calculate the amount to be paid by a customer buying yummy cupcakes for his birth day party

pseudo code that will determine if the number is prime or composite

Define the Data File in C Programming? Many applications needs that information can written to or read from an auxiliary memory device. Such information is stock up on the memo

Program is to search for a given character in a string: Program is to search for a given character in a string and print point of match char *stsearch(char *string, char sea


to find the area under the curve y = f(x) between x = a and x = b

how i can open a file

Implementation of the Definition class: void Definition::put_word(char *s) {    word = new char[strlen(s)+1];    strcpy(word,s);    nmeanings = 0; }   voi

You are working for a computer gaming company and have been asked to look at a survival game.  You will be simulating a rabbit stranded on an island, collecting a large number of s