thanks for the reply but no that does not fix the problem
Type: Posts; User: Grae
thanks for the reply but no that does not fix the problem
Hi, I'm making a poker game where the user is provided with 5 cards and these cards are given a value. Unfortunately I've been having errors when the program checks for a straight. To check for a...
ok sure if it is that important ill just leave it until i know how to use pointers and references. I just dot want to use code in my program which i do not yet understand
thanks guys, i'm reading a book on C++ and have not yet learnt about pointers or references yet so I think i'll just use a few global variables for now and fix it up later :)
Hi, I'm currently writing a poker game and am trying my best to avoid using global variables. I have a few variables in int main() which i was hoping to use to store the value of each players hand. I...
Ok thanks a lot :)
Hi again, sorry to keep posting questions in this forum but i have nowhere else to find answers :frown:. I'm now trying to make a simulation of a slot machine but for some reason which i should...
what if i want to use a variable in multiple functions?
ok thanks that solved my problem
haha my bad
Hi, i'm trying to make a simple C++ program in which the user must try to guess a number, if they guess too high it says "too high" and if they guess too low it says "too low".
I also decided to...
k thanks
Hi, kinda stuck trying to make a simple password checker which uses a function to check the password.
When i run the program and then enter the password it come up with an error and shuts down the...
ok i shall :)
How would you compare two strings in an if statement to determine which comes first in alphabetical order?
Try and keep it simple because i am currently new to the language
k thanks that makes much more sense, this has nothing to do with the previous question but how would u compare two strings to see which comes first, using an if statement and comparison operators?
i still don't understand what it means... cant you read the whole line without getline?
Hi, i'm new to C++ and the book which i am reading says that the purpose of getline is to show the whole line. Could someone please elaborate on this.
Thanks
Hi, I'm reading a book on C++ and one of the practice problems after the intro to loops reads:
"write a program that provides the option of tallying up the results of a poll with 3 possible...
Hi, I'm reading "Jumping into C++" and I am having trouble completing a practice problem at the end of the chapter on loops.
Here is the problem:
"write a program that provides the option of...