Extreme beginner, struggling project
Hey guys, I'm still very new to c++ so when receiving this project, I was pretty lost, the lab we did seem simple, but when he assign this project, i had no idea how to start. I understand the basic of it, but not alot to put it together when writting the program. So the assignment is to develop a manhunt simulator. The manhunt simulator will have two people. The investigator who will be demarked with an âIâ and a target who will be demarked with a âTâ. The target will not be directly visible on the map though.
https://flic.kr/p/SjfPCA << i took a picture of how he wanted the program to function, it seems simple at first but i was completely lost with loading a text file, the map, and finding the target
https://www.flickr.com/photos/31706893@N03/? << the rest of the screenshot I took is the input and output samples he provided which help me visually understand what he meant, but I still cant figure out how to write it, i know how to open file and create arrays, but putting it together is still tricky, especially moving the 'I' and turning the underscore to asterisk
I really appreciate any sort of help or tips to help me get started!
Re: Extreme beginner, struggling project
Rather than provide links to unknown sites which probably no one here will open, it's better to provide attachments to the post.
When approaching something like this, the first step is to start to put together a design for the project - including but not limited to: what are the inputs, what are outputs/displays, what are the user interactions and what are the algorithms required. Then the data structure(s) required by the program can be devised and the program design undertaken. Once the design has been done, then the program is coded from the design, then tested and debugged. Whilst developing the program design, it is often useful to document how this would be done manually using pen & paper.
Quote:
I was completely lost with loading a text file, the map, and finding the target
What are the issues you are having reading data from the text file?