Uninitialized local variable?
![FakezZ](http://pbs-prod.linustechtips.com/monthly_2019_08/IMG_20190729_212108_475.thumb.jpg.c32249a8a125414d717f5823c3746440.jpg)
By
FakezZ
in Programming
in Programming
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
-
Featured Topics
-
Topics
-
3
-
porina ·
Posted in CPUs, Motherboards, and Memory2 -
dassan ·
Posted in CPUs, Motherboards, and Memory11 -
1
-
Hotblood ·
Posted in Storage Devices4 -
Nakul211 ·
Posted in Graphics Cards0 -
3
-
Moonphase ·
Posted in Graphics Cards1 -
10
-
Dennettic ·
Posted in CPUs, Motherboards, and Memory24
-
-
play_circle_filled
Latest From Linus Tech Tips:
Update Windows Before Watching This - WAN Show June 14, 2024
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