need hep plzzz
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: need hep plzzz

  1. #1
    Join Date
    Feb 2014
    Posts
    1

    Unhappy need hep plzzz

    i need some help....I am new to c++ and got a project to write code for a dvd inventory system......

    i must be able to add title, length of movie
    bonus info and dvd info length...this should be a loop because don't know how many bonus info will be entered by the user....



    this is the menu so far....i need help plzzz...

    cout<<"**************************************************************"<<endl;
    cout<<"* *"<<endl;
    cout<<"* DVD Collection *"<<endl;
    cout<<"* *"<<endl;
    cout<<"**************************************************************"<<endl;
    cout<< endl;
    cout<< endl;
    cout<< " 1- Enter DVD information"<< endl;
    cout<< " 2- View DVD information"<< endl;
    cout<< " 3- Exit the application"<< endl;

  2. #2
    VictorN's Avatar
    VictorN is online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,470

    Re: need hep plzzz

    Quote Originally Posted by dreaddie View Post
    i need some help....I am new to c++ and got a project to write code for a dvd inventory system......

    i must be able to add title, length of movie
    bonus info and dvd info length..
    Well, do you know how would you do it using a pen (or pencil) and some sheets of paper?
    Victor Nijegorodov

  3. #3
    Join Date
    Dec 2012
    Location
    England
    Posts
    2,548

    Re: need hep plzzz

    I am new to c++ and got a project to write code for a dvd inventory system.
    So I guess this is a homework assignment? See http://forums.codeguru.com/showthrea...ork-assignment

    Also, when posting code please use code tags. Go Advanced, select the code and click '#'.

    Once you know how you would do it manually as per Victor's post #2, then consider the data that needs to be entered and stored and the data types/structures/classes required for this. When you have done al this, then produce a program design which says in English (or other natural language) how the program is going to work, then code the program from the design, then test and debug.

    Code:
    Determine input and output requirements
    Devise required data structures
    do {
         design program
         code program
         test
         debug
    } while program_not_working
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center