Welcome to the FirebirdV6.com/CamaroV6.com forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
this is the final project for this semester! I have no idea how to do arrays. so if someone wants to help me out with this, it'd be much appriciated. Its crunch time cuz its due at midnight :/
I don't know Java, but in C++ I would probably make each item an Item class object, which would have a name and price. I would then creat an array Item items[SIZE];
The item that corresonds to the barcode 100 could be placed in the 0th element of the array, items[0], and so on.
Then I would create a cart_item class, which would have a name, price, and quantity cart_item cart[SIZE];
That's what I can think of off the top of my head. Hope that helps.
I go to class. its just she basically just gives us labs that we have to figure out and we can get her help sometimes. but after each chapter she gives a project like this that we have to do on our own.
so I'm pretty much sol on this one
thanks dojo, you got me thinking on the right track now.
About a week ago noticed my brake lights not working also Hazards not working. Installed new brake switch and still not working, checked fuses and what...
3 days ago
FORUM SPONSORS
Collapse
Working...
X
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment