Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 1185
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: Thu May 16 17:15:08 CEST 2024

Total time taken to generate the page: 0.01507 seconds