Re: What is wrong with this call?



c.lang.myself@xxxxxxxxx wrote:
fopen(”c:\try\clip1.dat”, “r”);

\t is the escape sequence for a horizontal tab
\c is an undefined escape sequence

I doubt very much that your filename includes those characters.

There are two obvious suggestions to make:
1) If your question is worth asking, it is worth puting in the the body of your message. Subject headers are not the place for anything important for your message.
2) Buy any decent C text, and read the sections on character constants, string literals, and escape sequences.
.



Relevant Pages

  • Re: online awk application - viable
    ... feasibility of writing a web application to carry out pattern matching in ... The main problems are that the browser will escape some characters in the ... # character for the original escape sequence. ... # Hex is a string in the form \xnn where n is in the set 0-9a-f. ...
    (comp.lang.awk)
  • Re: online awk application - viable
    ... feasibility of writing a web application to carry out pattern matching in ... be implemented in php or another language but awk (which I have not used ... The main problems are that the browser will escape some characters in the ... # character for the original escape sequence. ...
    (comp.lang.awk)
  • Re: Unrecognized escape sequences in string literals
    ... But in this case, Python is making ... least not if it doesn't have any escape characters in it that I'm not ... it would never be the case in C++ code that the programmer who ... didn't know that "\xba" was an escape sequence, ...
    (comp.lang.python)
  • Re: x and strings
    ... >> The escape sequence for embedded bytes is three characters following ...
    (microsoft.public.vc.language)
  • Re: formatting text in JavaScript popup boxes
    ... there is also few additional special characters: ... which serves as escape sequence prefix itself ... Is there some Javascript popup Alert box text formatter, ...
    (comp.lang.javascript)