Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can anyone help me with C++?

19 Aug 2011   #1
rigz

windows 7 32 bit build 7600
 
 
Can anyone help me with C++?

Im having troubled with my program. Can anyone help me?

My problem is how can I output two values with one identifier?

You can understand my program in the part of my receipt.
example: i bought two items and in the receipt part i want the items that i bought will be listed.

Well it is sort kind of homework, but please if you have any idea, Help me.

Here is my code:


Attached Files
File Type: txt C++ program.txt (8.1 KB, 75 views)
My System SpecsSystem Spec
19 Aug 2011   #2
Everlong

 

You could maybe add an array in to it that stores everything that's ordered and then print the contents of the array when printing the final receipt, or, if you've learnt them, add structs in.
My System SpecsSystem Spec
20 Aug 2011   #3
rigz

windows 7 32 bit build 7600
 
 

Quote   Quote: Originally Posted by Everlong View Post
You could maybe add an array in to it that stores everything that's ordered and then print the contents of the array when printing the final receipt, or, if you've learnt them, add structs in.
Yah that is what im thinking about but im still going to find out how to use the exact codes.. any suggestion for my codes?
My System SpecsSystem Spec
.

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:47.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App