ShawnCoutts
Programmer
i have a function that is attempting to compare 2 pointers to see if they point to the same place.
in theory this code should work. Especially after checking to make sure that the pointers referenced the same thing.
Can someone explain why I cant compare 2 pointers like this?
Code:
if(StrScan(Form1->Length->Text.c_str(), '.') != StrRScan(Form1->Length->Text.c_str(), '.')) {
in theory this code should work. Especially after checking to make sure that the pointers referenced the same thing.
Can someone explain why I cant compare 2 pointers like this?