User Profile

Collapse

Profile Sidebar

Collapse
ryukku1111
ryukku1111
Last Activity: Sep 26 '13, 03:06 AM
Joined: Aug 29 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ryukku1111
    replied to Object represent a value and add/remove cart
    in C
    why all the cin and cout become ambiguous?
    Code:
    #include <iostream>
    using namespace std;
    
    int main()
    {
    	int booknum, n, day;
    	double Cplusplus = {10};
    	int Creativity ={5};
    	int Java = {5};
    	int Management = {6};
    	Cplusplus, Java, Creativity, Management = n;
    
    	cout << "**********Welcome to BOOK ORDERING SYSTEM**************" << ".\n";
    ...
    See more | Go to post
    Last edited by Rabbit; Sep 25 '13, 03:43 PM. Reason: Please use [CODE] and [/CODE] tags when posting code or formatted data.

    Leave a comment:


  • ryukku1111
    replied to Object represent a value and add/remove cart
    in C
    so i declare them right like this?
    Code:
     int Cplusplus [1] = {1};
    	int creativity [1] = {2};
    	int Java [1] = {3};
    	int management [1] = {4};
    See more | Go to post
    Last edited by Rabbit; Sep 25 '13, 03:42 PM. Reason: Please use [CODE] and [/CODE] tags when posting code or formatted data.

    Leave a comment:


  • ryukku1111
    replied to Object represent a value and add/remove cart
    in C
    do i have to declare a value for every element of the arrays?
    See more | Go to post

    Leave a comment:


  • ryukku1111
    replied to Object represent a value and add/remove cart
    in C
    ok i will try to do that, maybe u can show me some code reference?
    See more | Go to post

    Leave a comment:


  • ryukku1111
    replied to Object represent a value and add/remove cart
    in C
    u mean like this?

    input 1 for C++ for dummies = RM250
    input 2 for Creativity & Innovation = RM200
    input 3 for Introduction to Java = RM200
    See more | Go to post

    Leave a comment:


  • ryukku1111
    replied to Object represent a value and add/remove cart
    in C
    im guessing array for the list of books? i mean i show out the list of books using using "cout" first then write out some code like 1 = RM250, 2 = RM200 then "total = ???" and the cart part i think a= add cart b= remove cart c= reset d= check out, im still a amateur for C++



    my coding so far:
    Code:
    #include <iostream>
    
    using namespace std;
    
    int main()
    {
    	string
    ...
    See more | Go to post
    Last edited by Rabbit; Sep 25 '13, 03:42 PM. Reason: Please use [CODE] and [/CODE] tags when posting code or formatted data.

    Leave a comment:


  • ryukku1111
    replied to Object represent a value and add/remove cart
    in C
    i intended to make a list of books to buy like this:

    1 C++ for dummies RM250
    2 Creativity & Innovation RM200
    3 Introduction to Java RM200

    and then users can select the books by input the number of the books they chosen, and then from the book selected the system will ask either more selection into or remove the cart or check out, if wanna check, the system will automatically calculate the total price need...
    See more | Go to post

    Leave a comment:


  • ryukku1111
    started a topic Object represent a value and add/remove cart
    in C

    Object represent a value and add/remove cart

    hi, im working on Book Ordering system and i having trouble how to make the system recognize different price values when i add different books into it, also how to make the system to be able to add/remove cart?
    See more | Go to post
No activity results to display
Show More
Working...