U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » strcmp() works with String?
strcmp() works with String? [message #5906] Tue, 24 October 2006 10:48 Go to previous message
forlano is currently offline  forlano
Messages: 1244
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

yesterday I noticed in my code several instructions:
String s1, s2;
strcmp(s1, s2);

I used it when I ported in U++ the old C code and was unaware of the method CompareNoCase(). The question is: strcmp() maybe armful with String? Are there case in which the operation can produce the crash? Anyway I'm going to substitute it.

Luigi
 
Read Message
Read Message
Previous Topic: Conversion hex to int
Next Topic: CHECK macro
Goto Forum:
  


Current Time: Sat Sep 12 05:34:27 GMT+2 2026

Total time taken to generate the page: 0.00556 seconds