View Single Post
Join Date: Apr 2008
Posts: 47
Reputation: Cybulski is an unknown quantity at this point 
Solved Threads: 3
Cybulski's Avatar
Cybulski Cybulski is offline Offline
C++ wannabe

Re: Iterator assertion failure. How?

 
0
  #10
May 17th, 2008
Originally Posted by Ancient Dragon View Post
>>if( (s_current.compare(struct_filedata.name) && s_parrent.compare(struct_filedata.name)) )

use || operator instead of && because it can't be both at the same time.
Nope, not working. Negating whole condition not working also. Only way to get list of files is using && operator, and my brain is melting while thinking why.
Reply With Quote