![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Dec 2004
Posts: 50
Rep Power: 5
![]() |
Declare array of chars
I`m making a class and I`m trying to declare an array of chars in its private section but i get errors.
Here`s what I`m doing: class class1
{
public:
....code here....
private:
char szChar[]="text here";
} |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|