📄 waritoa.h
字号:
#ifndef WAR_ITOA_H#define WAR_ITOA_H/* SYSTEM INCLUDES */#ifndef WAR_STRING_INCLUDED# define WAR_STRING_INCLUDED# include <string>#endif/* PROJECT INCLUDES *//* LOCAL INCLUDES *//* FORWARD REFERENCES *//** Generic itoa() function. Handles any integer supported by the compiler @param dst String to write to. Also returden @param val Value to convert to a string @param base Number system, 10 or 16 @param large_digits true if hex letters is LARGE else they are small @param fmt_char Format character. Used to make: 1.234.567 style formatting. @return The formatted string. The buffer passed as dst is returned.*/template <class charT, class numT>std::basic_string<charT>& WarItoa(std::basic_string<charT> &dst, const numT val, const int base = 10, const bool large_digits = true, char fmt_char = 0);#endif // #ifndef WAR_ITOA_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -