Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SSS148 on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array of consts in a class

Status
Not open for further replies.

Guest
I'm trying to create a constant array of constant doubles as a member of a class, but I can't figure out the syntax for this. The class is declared in a .h file, and I've been trying to declare the array there and initialise it in the constructor in the .cpp file, but I can't figure out how to get it to compile.

Thanks in advance

Stefan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor