L
luan
Hello. I have a problem with strings in C++.
I'm using gcc/g++ gnu/linux compiler.
How i can do tests with strings and constants in C++?
Eg:
char string[10];
if (string == "test") {
printf("OK");
}
I'm wating for help.
Thanks.
I'm using gcc/g++ gnu/linux compiler.
How i can do tests with strings and constants in C++?
Eg:
char string[10];
if (string == "test") {
printf("OK");
}
I'm wating for help.
Thanks.