addslashes addslashes -- Quotes a string with backslahses. Quotes string with backslashes. Single quote, double quote and backslash in subject are escaped. Usage // 1. Function form. void func::addslashes(string* subject)