currently a homework that I am working on aims to simulate a flightMap system that has reads cities and flights from a txt file and that has a main searching algorithm that finds paths from a departure city to a destination city through flights. The non-recursive search algorithm that uses stack adt that I wrote ..

#### Category : adt

I have ran into an issue with my Hashing program I keep getting a String Subscript out of Range error but it does not tell me what line it is causing it on. I would like to know what is causing this error and preventing me from being able to output my file correctly. Image ..

I am working on a Hashing program where it reads a file of famous people based on date, zip code, gender, etc. I have progressed through the program quite a bit but I have been stumped on an error for hours which does not let me compile my program. Any help or guidance in the ..

PREVIOUS PROBLEM FIXED AND UPDATED ARRAYQUEUE.CPP WITH CURRENT VERSION ***CURRENT PROBLEM*** I have gotten my items that I am enqueueing to correctly pop up in the my program but for some reason my queue is outputting the three numbers necessary but the second number is a very extraneous digit. Output: Item #0: 1 Item #1: ..

Hi I am working on a queue like implementation using Arrays and I keep encountering an error that states Unhandled exception thrown: write access violation. this->items was 0x1110112. It is in a function that is designed to be able to enqueue a number and add it into the array but I am a bit lost ..

I am currently working on a program and I have to rewrite my already written sequence class which I will provide below but this time instead of items being stored inside a linked list they will be stored using two STL stacks as private members. I am not asking for a whole written up program ..

Hi I am currently coding a program that evaluates an infix expression and converts it into a postfix expression. The output I am looking for is: Enter an infix to evaluate: 2+3*4 The PostFix Equivalent is: 234*+ But instead I am getting: Enter an infix to evaluate: 2+3*4 The PostFix Equivalent is: 23*+ My logic ..

Hi I coded a program where it evaluates infix expressions and outputs a converted infix expression to a postfix I am looking for my output to look something like this: Enter an infix expression: a+b*c+d ab*c++ but instead I just get this and it just stays like that not showing another output: Enter an infix ..

I am trying to store values that could be seen as mathematical sets. As written above, in these sets {1, 2, 2} and {2, 1, 2} would be considered the same element. I have tried using std::unordered_set and std::unordered_multiset, but neither of them suit the needs of my code: std::unordered_set is not able to store ..

Hi I am a bit stuck in creating the isUnderAttack Function for the Eight Queens Program. I believe I need to check rows and columns? Any help or guidance to get started on the right track would be appreciated! Here is what I have so far for the program. I got the starter functions made ..

## Recent Comments