Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char buffer1[100];
- sprintf_s(buffer1, "whatever %s", "something");
- char buffer1[100];
- sprintf_s(buffer1, "whatever %s %s", "something", "somethingelse");
- sprintf(query, "INSERT INTO `members` (`id`, `username`, `email`) VALUES ('%s', '%s', '%s')", id, username, email);
- sprintf(query, "INSERT INTO `members` (`id`, `username`, `email`) VALUES ('%d', '%s', '%s')", id, username, email);
- sprintf(query, "INSERT INTO `members` (`id`, `username`, `email`) VALUES ('%s', '%s', '%s')", to_string(id).c_str(), username, email);
Add Comment
Please, Sign In to add comment