No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
Hi! Lets say i have this expression I10I20I-3++ which should give me 27. I just cant seem to find a way of removing those I's or if it is any other letter from the string. Not forgetting i have to then evaluate the expression. I tried using regex but no … | |
Hi I'm working on the implementation of a boolean method to check if an expression has balanced parentheses using recursion. I cant figure out how to check if two elements of a given expression match i.e ( ). I was able to finish it without a problem using stacks, but … | |
Im trying to create a deck of cards using enums. I already have my enum declared, but I'm stuck in how exactly to create the deck of cards using a boolean array. So far i tried to initialize my constructor, but I don't know what direction to take now. Any … | |
Hi! I need some guidance on this project. I wrote most of it, but i would like to improve my code by implementing more functions, and im open to hear suggestions on my code. My main concern is, every time the user picks one of the drinks it should subtract … | |
Hi guys im trying to generate 5 random numbers that return a string so i can compare it to a file. so far i have this but i have no idea how to make it a string. Since i have to compare it to the file i mentioned earlier. This … | |
Hi! Im finishing up a lottery number generator and the only part im kinda lost in is the binary search part. I have two strings = input[], random; I have to go through each subscript and check if it matches my already random generated number. Thanks in advance to those … | |
Hi everybody, i cant seem to make my program to pass the first user input. I know i have to put it inside a do while loop, but everyone of my attempts results in an infinite loop. I'm also aware that i should use a bool to make it work, … |
The End.