Quote:
|
Originally Posted by babbling
Do you mean something like this?
if( x == y && x == a && x == b && x == c )
{
// ...
}
|
yes kind of....
so basically what i need is that and
if( x != y && x != a && x != b && x != c )
{
// ...
}
replace the //....
if( x == y && x == a && x == b && x == c )
{
// put (variable) on a list
} or
if( x != y && x != a && x != b && x != c )
{
// ignore (variable)
}
all i need to know is how to place it on a list... after that the next page will be like
cout<<"All contain: \n";
// displays list
two more questions... how to i say "x = whatever"... i know how to say "x = a number" but i need "x = a word"
that method only works with numbers, how do i do it with letters
and one more thing... does && mean "and" or "and/or"
Thanks