Click here to Skip to main content
15,796,456 members

Comments by 0x01AA (Top 200 by date)

0x01AA 2 days ago View    
Now I think it comes up to nearly the same (ok, vector maybe handle this slightly more performant).
Read this how vector implements operator ==
operator==,!=,<,<=,>,>=,<=>(std::vector) -[^]
0x01AA 2 days ago View    
0x01AA 3 days ago View    
Usually a missing 'AS' does not cause a problem. At least not for MSSQL and many others ;)
0x01AA 3 days ago View    
Just guessing.
Can it be that

JOIN registration r ON s.studid = r.studid

should be more

JOIN student_registration r ON s.studid = r.studid
0x01AA 26-Nov-23 10:58am View    
One easy way (maybe not the cleanest) is to implement a method DoException(string message) which throws then an exception based on the value of m_WithException. At least this way you get rid of all the 'if' in the code.