Can anyone help me with C++?


  1. Posts : 275
    windows 7 32 bit build 7600
       #1

    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:
    Can anyone help me with C++? Attached Files
      My Computer


  2. Posts : 3,322
    Windows 8.1 Pro x64
       #2

    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 Computer


  3. Posts : 275
    windows 7 32 bit build 7600
    Thread Starter
       #3

    Everlong said:
    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 Computer


 

Our Sites
Site Links
About 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 09:31.
Find Us