LibTgBotPP
 All Classes Namespaces Files Functions Variables Typedefs Macros
std.cc File Reference
#include "std.h"
#include <pwd.h>
#include <time.h>
#include <unistd.h>
#include <algorithm>
#include <fstream>
#include <sstream>

Go to the source code of this file.

Functions

uint64 stoi (std::string st)
 
std::string itos (uint64 i)
 
std::string currentDate ()
 
std::vector< std::string > split (const std::string &text, char sep)
 
float stof (std::string st)
 
std::string trim (const std::string &s)
 
std::string gethome ()
 
void Log (std::string msg)
 

Function Documentation

std::string currentDate ( )

Definition at line 30 of file std.cc.

std::string gethome ( )

Definition at line 80 of file std.cc.

std::string itos ( uint64  i)

Definition at line 25 of file std.cc.

void Log ( std::string  msg)

Definition at line 91 of file std.cc.

std::vector<std::string> split ( const std::string &  text,
char  sep 
)

Definition at line 42 of file std.cc.

float stof ( std::string  st)

Definition at line 59 of file std.cc.

uint64 stoi ( std::string  st)

Definition at line 11 of file std.cc.

std::string trim ( const std::string &  s)

Definition at line 67 of file std.cc.