Help!!!!

Hello everyone! Thanks for the help in advance!!!

I need to create a program that gets an input of 10 names(strings) and after inputing each name you also input their highest score(in other words an integer).The program must be able to:
-create a file
-locate data in the file by name and highest score
-delete an item and its associated data from the file
-locate and update a high score for a user

Any ideas would be very appreciated and if you give some code it would be awesome! :D
Jeesus christ can you stop spamming the forums? You've created 3 identical posts within the hour. Multiple posts just wastes peoples time, and they're annoying and you're less likely to get any help.

http://www.cplusplus.com/forum/general/181515/
http://www.cplusplus.com/forum/beginner/181510/

I'd guess the reason no one has answered your post yet is because it's a lazy post. You just give us the instructions without having done anything yourself. Get started on your program yourself, and present what you've done later and then you can ask specific questions if you get stuck etc. Use the internet, google how to create files, watch videos on youtube about it.
Last edited on
A few questions first before we can actually help. You say the program should create a file, but what is the format of the file? Is there a specific file type you need, or is it just a plain text file? If it's a text file, what format will you use? For example, the following examples are all files containing your data, but in different ways:


Name1: 20
Name2: 30
Name3: 40

Name1 20
Name2 30
Name3 40

20 -> Name1
30 -> Name2
40 -> Name3

For certain file types, the type of functions you need already exist. Next question is if you already started something yourself? If so, could you show it and tell where the problem is. We could come up with something that doesn't fit in your code, it would then be more work to refactor your code to fit it in, then it would be for us to think up a solution that works with your code.

As a side note, reposting the same thing multiple times will NOT make it more relevant, it will probably just annoy people.
Last edited on
hello people sorry xD I solved it already but thanks for the help
Topic archived. No new replies allowed.