Uninitialized local variable?
Go to solution
Solved by Ciccioo,
But if I use strings how will i be able to compare them?
with a simple ==
that's the power of strings, and of the standard namespace: you will be able to use all the "built-in functions and behaviours"
the namespace knows how to compare strings, so
if(string1 == string2)
works just the way you would expect it to

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now