捺(\)是电脑原生符号,自然语言里不大出现的,"/" 英文是forward slash, “\" 是backward slash,兩者的區別,"/" 分隔符,"\" 转义字符。通過正反,八字(/ \) 容易區別和記憶。
1.Windows路径 用反斜杠开头“\”为本地路径,“\\”为网络路径 如: "C:\Users" "\\192.168.1.4\Share"
2.Liunx路径 如:"/home/hutaow"
3.网址用斜杠 如:"https://blog.csdn.net/MyFreeIT"
3.注释用斜杠 如:"//coding" "/*coding*/"
4.除法用斜杠 如:"4/3"