| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Classes - Help!
First Off, I'm really new to C++ and was a big fan of java, having some trouble in the switch over.
I'm creating an object and all I want in my object is a vector<int> I made a header file and its corresponding .cpp file for the class. Now I'm having trouble declaring the vector and initializing it also. What do I put in the private portion of the .h file and what goes into say, the default constructor to get this vector up and going? |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > Classes - Help! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|