Trying to construct a class attribute - a vector of certain size
class cTest
{
public:
std::vector<double> myTable(1900);
};
main()
{
cTest test;
return 0;
}
compiler says:
./src/main.cpp:43:33: error: expected identifier before numeric constant
43 | std::vector<double> myTable(1900);
| ^~~~