Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I'm using C++ to build a credit card simulator. My code is already completed, however I am getting three error messages on my CreditCard.h file.

I'm using C++ to build a credit card simulator. My code is already completed, however I am getting three error messages on my CreditCard.h file. The three error messages are

error C2327: 'CreditCard::lim' : is not a type name, static, or enumerator

error C2065: 'lim' : undeclared identifier

error C2864: 'CreditCard::bala' : only static const integral data members can be initialized within a class

Here is the link to my project file. I am using Microsoft Visual Studio 2012 to write this code, and am absolutely stuck on how to fix the problem. Please fix the errors so that the program compiles and runs correctly. You can simply post the code snippet that you changed if you prefer. Be sure the code compiles without error.

https://1drv.ms/u/s!AjLswKvo9tl3hCzsNBkY1IVPmgjN

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions

Question

=+ (b) affect the world interest rate?

Answered: 1 week ago