3
Answers

Get the name of a folder inside of a folder

Photo of D B

D B

16y
4.9k
1
Hello everyone,

for my assignment for school I have to make a HP calculator which works with 4 stacks, and in RPN.
So i allready got the first 3 stacks(normal array, dynamic array and LinkedList) but the 4th stack is the so called "Crazy stack" here you can make a stack in what ever way you like. So i figured a stack making a folder for every value that i push. And that works awesome. But now the problem everytime I want to pop a value i need to get the folder name of the folder in a folder. for example C:\HP Calc\0\ value (the 0 indicated on which place the value is pushed.) So what i want to know is how i can get the name of the value inside the folder 0, since i dont know what the value's folder name is.

Thanks a lot,
Dave

Answers (3)

0
Photo of Vulpes
NA 98.3k 1.5m 13y
Well, the Latest News section on here (see side bar to right) certainly helps in that respect.

If you also join the Code Project site (http://www.codeproject.com/), they'll send you at least one newsletter a day which lists (and links to) relevant articles that have recently been published on other news sites, not just on computing but on science and technology generally. In fact, there's so many that it's difficult to keep up!

Personally, I never look at Twitter (unless linked to by the aforementioned sources) as I find it too shallow for most purposes.


Accepted