"c.***********@gmail.com" <c.***********@gmail.comwrites:
It helps if you put the question in the body of the post: "What is
wrong with this call?"
fopen(”c:\try\clip1.dat”, “r”);
I was surprised to see that this is not a FAQ (unless I missed it).
To put \ into a C string literal you need to write \\. The sequence
\t is a tab character and \c is undefined. You can also side-step the
problem since almost every C library accepts / as an alternative in
file names.
Also, you have the wrong quotes. You need "..." not the characters
you have. These may simply have been inserted by your posting
software so it may not be an issue in your code.
--
Ben.