Research portable Memory game | Исследовать портируемую игру Память
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

llm.cpp 225B

5 months ago
1234567891011
  1. #include "llm.h"
  2. bool llm_isDigit(const std::string &str) {
  3. return
  4. !str.empty() &&
  5. str.find_first_not_of("0123456789") == std::string::npos;
  6. }
  7. int llm_strToInt(const std::string &str) {
  8. return std::stoi(str);
  9. }