20 likes | 21 Views
PRG 218 Week 4 Individual Assignment Coding: Classes and Objects//tutorfortune.com<br><br><br>Click on below link to buy<br>https://tutorfortune.com/products/prg-218-week-4-individual-assignment-coding-classes-and-objects<br><br>Instructions: Resources: <br>u2022t"Challenge: Ask for a User's Favorite Movies" in Lesson 4, "Classes and Objects," of the Lynda.comu00ae course Learning C with Peggy Fisher<br>u2022t"Solution: Ask for a User's Favorite Movies" in Lesson 4, "Classes and Objects," of the Lynda.comu00ae course Learning C with Peggy Fisher Review the video "Challenge: Ask For a User's Favorite Movies" in Lesson 4, "Classes and Objects," of the Lynda.comu00ae course Learning C with Peggy Fisher. Take notes on the program requirements. Create a MyMovie class along with a main program that prompts a user with questions about his or her favorite movies, places the user's answers in an array, and then applies content from the array to the creation of MyMovie objects. Create a single C project (favoriteMovies) containing three interrelated files (favoriteMovies.cpp, Movie.cpp, and Movie.h) as follows:<br>u2022tCreate a new project in Visual Studiou00ae named favorite Movies.<br>u2022tType in the code for favoriteMovies.cpp. You may begin with the example favoriteMovies.cpp file located in Lynda.comu00ae example, if you like.<br>u2022tFrom the Visual Studiou00ae main menu, choose Project > Add Class, then choose Visual C and click the Add button.<br>u2022tIn the "Generic C Class Wizard" dialog, type MyMovie as the class name. Then, for the .h file and .cpp file fields, type Movie.h and Movie.cpp, respectively. Click the Finish button. <br>u2022tType the Movie.h and Movie.cpp code into each of these files.<br>u2022tFrom the main menu, choose Debug > Start Without Debugging, and build/debug/run as usual. After you have created your version of the program, view the solution provided in the video "Solution: Ask for a User's Favorite Movies" in Lesson 4, "Classes and Objects," of the Lynda.comu00ae course Learning C with Peggy Fisher. Sample source code is also available in the Exercise Files linked in Lynda.comu00ae course. Note: To earn full credit for this assignment, the source code you submit must differ from the sample source code in the following ways:<br>u2022tIt must be structured differently, with different variable names and control flow<br>u2022tOr, if it is structured in a similar fashion, the following changes must be included:<br>u2022tThe program must accept movies that were released between 1950 and 2017<br>u2022tThe Movie class must be named MyMovie<br>u2022tThe comments header of each file must include your name as the author and "Week 4" as the date<br>Zip the three source files into a single ZIP file named PRG218_Week4_YourName.zip. Submit your ZIP file using the Assignment Files tab.<br><br>Click on below link to buy<br>https://tutorfortune.com/products/prg-218-week-4-individual-assignment-coding-classes-and-objects<br><br><br><br>
E N D
PRG 218 Week 4 Individual Assignment Coding: Classes and Objects//tutorfortune.com Click on below link to buy https://tutorfortune.com/products/prg-218-week-4-individual-assignment-coding-classes-and-objects I n s t r u c t i o n s : R e s o u r c e s : " C h a l l e n g e : A s k f o r a U s e r ' s F a v o r i t e Mo v i e s " i n L e s s o n 4 , " C l a s s e s a n d O b j e c t s , " o f t h e L y n d a . c o m® c o u r s e L e a r n i n g C + + w i t h P e g g y F i s h e r " S o l u t i o n : A s k f o r a U s e r ' s F a v o r i t e Mo v i e s " i n L e s s o n 4 , " C l a s s e s a n d O b j e c t s , " o f t h e L y n d a . c o m® c o u r s e L e a r n i n g C + + w i t h P e g g y F i s h e r R e v i e w t h e v i d e o " C h a l l e n g e : A s k F o r a U s e r ' s F a v o r i t e Mo v i e s " i n L e s s o n 4 , " C l a s s e s a n d O b j e c t s , " o f t h e L y n d a . c o m® c o u r s e L e a r n i n g C + + w i t h P e g g y F i s h e r . T a k e n o t e s o n t h e p r o g r a m r e q u i r e me n t s . C r e a t e a My Mo v i e c l a s s a l o n g w i t h a ma i n p r o g r a m t h a t p r o mp t s a u s e r w i t h q u e s t i o n s a b o u t h i s o r h e r f a v o r i t e mo v i e s , p l a c e s t h e u s e r ' s a n s w e r s i n a n a r r a y , a n d t h e n a p p l i e s c o n t e n t f r o m t h e a r r a y t o t h e c r e a t i o n o f My Mo v i e o b j e c t s . C r e a t e a s i n g l e C + + p r o j e c t ( f a v o r i t e Mo v i e s ) c o n t a i n i n g t h r e e i n t e r r e l a t e d fi l e s ( f a v o r i t e Mo v i e s . c p p , Mo v i e . c p p , a n d Mo v i e . h ) a s f o l l o w s : C r e a t e a n e w p r o j e c t i n V i s u a l S t u d i o ® n a me d f a v o r i t e Mo v i e s . T y p e i n t h e c o d e f o r f a v o r i t e Mo v i e s . c p p . Y o u ma y b e g i n w i t h t h e e x a mp l e f a v o r i t e Mo v i e s . c p p fi l e l o c a t e d i n L y n d a . c o m® e x a mp l e , i f y o u l i k e . F r o m t h e V i s u a l S t u d i o ® ma i n me n u , c h o o s e P r o j e c t > A d d C l a s s , t h e n c h o o s e V i s u a l C + + a n d c l i c k t h e A d d b u t t o n . I n t h e " G e n e r i c C + + C l a s s Wi z a r d " d i a l o g , t y p e My Mo v i e a s t h e c l a s s n a me . T h e n , f o r t h e . h fi l e a n d . c p p fi l e fi e l d s , t y p e Mo v i e . h a n d Mo v i e . c p p , r e s p e c t i v e l y . C l i c k t h e F i n i s h b u t t o n . T y p e t h e Mo v i e . h a n d Mo v i e . c p p c o d e i n t o e a c h o f t h e s e fi l e s . F r o m t h e ma i n me n u , c h o o s e D e b u g > S t a r t Wi t h o u t D e b u g g i n g , a n d b u i l d / d e b u g / r u n a s u s u a l . A f t e r y o u h a v e c r e a t e d y o u r v e r s i o n o f t h e p r o g r a m, v i e w t h e s o l u t i o n p r o v i d e d i n t h e v i d e o " S o l u t i o n : A s k f o r a U s e r ' s F a v o r i t e Mo v i e s " i n L e s s o n 4 , " C l a s s e s a n d O b j e c t s , " o f t h e L y n d a . c o m® c o u r s e L e a r n i n g C + + w i t h P e g g y F i s h e r . S a mp l e s o u r c e c o d e i s a l s o a v a i l a b l e i n t h e E x e r c i s e F i l e s l i n k e d i n L y n d a . c o m® c o u r s e . N o t e : T o e a r n f u l l c r e d i t f o r t h i s a s s i g n me n t , t h e s o u r c e c o d e y o u s u b mi t mu s t d i ff e r f r o m t h e s a mp l e s o u r c e c o d e i n t h e f o l l o w i n g w a y s : I t mu s t b e s t r u c t u r e d d i ff e r e n t l y , w i t h d i ff e r e n t v a r i a b l e n a me s a n d c o n t r o l fl o w O r , i f i t i s s t r u c t u r e d i n a s i mi l a r f a s h i o n , t h e f o l l o w i n g c h a n g e s mu s t b e i n c l u d e d : T h e p r o g r a m mu s t a c c e p t mo v i e s t h a t w e r e r e l e a s e d b e t w e e n 1 9 5 0 a n d 2 0 1 7 T h e Mo v i e c l a s s mu s t b e n a me d My Mo v i e T h e c o mme n t s h e a d e r o f e a c h fi l e mu s t i n c l u d e y o u r n a me a s t h e a u t h o r a n d " We e k 4 " a s t h e d a t e
Z i p t h e t h r e e s o u r c e fi l e s i n t o a s i n g l e Z I P fi l e n a me d P R G 2 1 8 _ We e k 4 _ Y o u r N a me . z i p . S u b mi t y o u r Z I P fi l e u s i n g t h e A s s i g n me n t F i l e s t a b . Click on below link to buy https://tutorfortune.com/products/prg-218-week-4-individual-assignment-coding-classes-and-objects