#define DIR "D:\\test\\"
char filePath1[100]={DIR"hello.txt"};
char filePath2[100]={DIR};
char filePath3[100]={"D:\\""test\\""hello.txt"};
filePath1,filePath3,都是
"D:\test\hello.txt"
filePath2是
"D:\test\"
#define DIR "D:\\test\\"
char filePath1[100]={DIR"hello.txt"};
char filePath2[100]={DIR};
char filePath3[100]={"D:\\""test\\""hello.txt"};
filePath1,filePath3,都是
"D:\test\hello.txt"
filePath2是
"D:\test\"