集体笔记向+google机翻(机翻的确很多细节形容不清,看不懂记得参考原文)
原文参见:https://hackingcpp.com/cpp/be...
Input&Output
1.Command Line Arguments 命令行参数
- What &Why
- How to Access in C++
int main (int const argc, char const* argv/*a pointer to a constant char*/) {
- Argument Conversion
- Conversion to std::string, int, …
- String → Number Conversion Functions