ok i was wondering if there was a way to do like:
1 through 5 = something
6 through 10 = something else
etc.
but i guess dracs way works also, well i havent tried yet but thanks for the help.
Type: Posts; User: halfpint101
ok i was wondering if there was a way to do like:
1 through 5 = something
6 through 10 = something else
etc.
but i guess dracs way works also, well i havent tried yet but thanks for the help.
i have a an if statement is there a way to make multiple fuctions equal to one value? for example.
if ( x == " yes "," maybe"){
a = 10;
}
or...
if ( x == 1-10){
b = "yes";
thank you for the help that solved my problem. Thanks for the explanation that makes a lot more sense. Really quick to that was only like 10 mins from my original post.
ive just started learning c++, im still in high school so i dont do it constantly, and im using the bloodshed compiler. I wrote this program and its not working quite as i had hoped. Here is the...