Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep 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

  • Thread starter Thread starter -
  • Start date Start date
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

Back
Top