Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I really need help with this C++ program. The main goal of it is to, in a functi

ID: 3658570 • Letter: I

Question

I really need help with this C++ program. The main goal of it is to, in a function, use cin and getline to read certain lines from a .txt file, put them in an array, and then, in the main function, add the elements together. And have an output. The Problem: 1. Create an array of ints in main() 2. Pass the array as a parameter to a function to read in the int length data. You must make the prototype look like this void read_data(ifstream& input, int arr[]); 3. In the read function, read mixed-type input data (using getline() and

Explanation / Answer

start off with visual c++ and do text based games (rpg, adventure, strategy, etc) written as pure console games (nothing GUI based). After you get a good grip of c++, start learning how to program using DirectX. Using DirectX, keep making text based games, but that now feature graphics, scrolling text, etc. After you get more experienced using DirectX and C++, start making games like said above, pong, and other games that have very few moving objects and sprites (graphics). After you get the hang of using sprites and such, move on to bigger and bigger projects. Remember, that these first few weeks and months will have you taking baby steps, but you will soon see a whole new area of productivity open up to you. Source(s): by the way, if you want me to host any of your games (so long as they are open source), just send me an email at juan.sanchez@manlawonline.org and I will respond to you (asking you for the premise of the game, the source code (for anti-malware verification and to make sure it works)).