双引号" "和单引号' '区别

双引号是字符串,单引号是字符

“\n”与'\n':  相同点:
     都能起到换行作用
     不同点:
     "\n" <=> {'\n', '\0'}
     '\n' <=> '\n'

 

 

我在vim里面写"./data_depth/train_images"就可以正确找到文件目录

’./data_depth/train_images‘就会报错

posted @ 2017-10-27 16:34  有梦就要去实现他  阅读(610)  评论(0编辑  收藏  举报