Top "Static-array" questions

An array is an ordered linear data structure consisting of a collection of elements (values, variables, or references), each identified by one or more indexes.

Programmatically create static arrays at compile time in C++

One can define a static array at compile time as follows: const std::size_t size = 5; unsigned int list[size] = { 1, 2, 3, 4, 5 }; …

c++ metaprogramming static-array
Difference between char and char[1]

In C++ what is the difference (if any) between using char and char[1]. examples: struct SomeStruct { char x; char y[1]; }; …

c++ arrays char static-array
Objective-C static inline NSString array

Hi :) I am trying to create a static C-Array of NSStrings. This is what I tried: static NSString** polygonNames = {@"Radical …

objective-c inline init static-array
static array class variable "multiple definition" C++

I'm writing some code where I need to have a class variable that's a static int array. I understand that …

c++ static-members multiple-definition-error static-array