P
Peter Olcott
Is this possible in C++ ???
Peter said:Is this possible in C++ ???
Peter said:Is this possible in C++ ???
Jonathan said:Please, don't write parts of your question in your subject. Make sure
everything is in your post.
Of course it is possible to initialize static array members, it is even
mandatory.
Jonathan Mcdougall said:Peter said:Is this possible in C++ ???
Please, don't write parts of your question in your subject. Make sure
everything is in your post.
Of course it is possible to initialize static array members, it is even
mandatory.
class C
{
public:
static int a[10];
};
int C::a[10] = {1, 2, 3};
Jonathan
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.