We have a rule on this forum that we can't give full solutions to school projects. We can only help you go in the right direction.
Your approach with QFile looked correct but you dropped it for some reason. Maybe try going back to it and expand it. Think about an algorithm for reading the map. If necessary, take a piece of paper and a pencil and "emulate" the process or reading a file.so I had an idea about loading a map via text file but I am finding it difficult in qt because I am newbie to Qt creator
Bookmarks