•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 401,653 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,692 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Views: 2728 | Replies: 2
![]() |
•
•
Join Date: Dec 2004
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
I have found out through the compiler that you cannot declare and initialize an array within a class header file. I was trying to figure out how I might go about getting a 5 by 14 array initialized as a private mamber within the class. I have included the header file and the class cpp file, neither are in full working form, but you should be able to get the idea about what i am trying to accomplish. thanks for taking a look.
•
•
Join Date: Feb 2005
Location: In BHavnagar(Gujarat-India)
Posts: 11
Reputation:
Rep Power: 4
Solved Threads: 0
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- encapsulating an array in a class? (C#)
- please help me with array in a class (C++)
- Array of Class Objects? (C++)
- Help : Pointers to array of class objects . (C++)
Other Threads in the C++ Forum
- Previous Thread: need hekp with C++ Calculator program
- Next Thread: Homework Help, please... [cout, cin]


Linear Mode