iasteele

 

Swathi

Page history last edited by Anonymous 2 yrs ago

3 / 10

Today was the first day of C++ Programming. We began the class by learning the basics of the C language and why it is important. After a brief introduction, we jumped right into the program. Using the Microsoft Visual Studio, we created a program called Hello World. Then we spent the rest of the afternoon creating a number game using things we learned such as printf and scanf.  The printf function is used to make text appear on your game. The scanf function is used along with the printf function, and it reacts to the actions of the player.

 

 

3 / 17

Today we began the class by reviewing what  we learned last week. Then we learned how to make four equations during a count program. We also learned the for loop, which is used similarly to the while loop.  The for loop has three parts, the initialization, condition, and the increment. After that, we made a new program called hello, which was similar to a survey. We asked the person their name and age. During this program, we learned how to eliminate the scanf function and use the gets function.  Finally, we began a long term project where we create a blackjack game.  This game can be played like a a real blackjack game.  However, we just began it today. We will be finished with it by the end of next class. We started with the basics and created a standard deck of 52 cards and divided them into groups of thirteen, with the four different suits.

 

 

3 / 24

Today we worked on our blackjack game the entire five hours. We started with the basics and created a standard deck of 52 cards and divided them into groups of thirteen, with the four different suits. We created functions in order to make our blackjack program easier to use and play. After that, we made a new program called hello, which was similar to a survey. We asked the person their name and age. During this program, we learned how to eliminate the scanf function and use the gets function.  We used loops and floats in order to make this process easier and more efficient.  Hopefully we will finish this game by next week.

 

 

3 / 31

Today we finally finished our blackjack poem halfway through the class. This program is now fully functional and obeys all the rules of the Vegas blackjack game.  It took three weeks but it was fun and worth the time.  I am going to send this poem to myself that way I can show my family what I was able to make during this enrichment.  However, I also learned that it is difficult to make programs and when I am done I really do not feel like playing the game because I spent so much time creating it.  But now I do have a lot of respect for the makers of computer games and other computer activites.

 

Comments (0)

You don't have permission to comment on this page.