Mostly because it's technically illegal in C++. Some compilers support it as a historical artifact, but even in C (the language that C++ inherited that feature from) it's exceedingly poor style.
Type: Posts; User: Prelude
Mostly because it's technically illegal in C++. Some compilers support it as a historical artifact, but even in C (the language that C++ inherited that feature from) it's exceedingly poor style.
Just store your numbers in a list somewhere, then you can have as many as you want:
#include <cstdlib>
#include <iostream>
#include <string>
namespace {
int hit[][3] = {
{1,...