Click here to Skip to main content
15,880,905 members

Comments by imagiro (Top 4 by date)

imagiro 24-Aug-13 3:40am View    
Reason for my vote of 2 \n For the megalomania: "..maybe the best thread pool implementation on Windows that you can find in the world."
imagiro 21-Jun-12 3:43am View    
Reason for my vote of 1
Not a good way to do it. Usual databases have functions like mysql_real_escape_string (for mysql) or query preparation functions. They do the work more reliable.

Also you convert the quotation marks to HTML entities, that might not always be what one wants.
imagiro 23-Nov-10 3:22am View    
1) Start you computer
2) Start an editor
3) Type the appropriate commands
4) Compile the program
imagiro 19-Jun-10 6:12am View    
Deleted
I have to agree to SledgeHammer, this is a good example for bad programming. The loop takes all the available processor power to do nothing - just wait. Sleep() doesn't do so. In fact this is how an absolute beginner would do a wait.