| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | fopen - specify director |
KK> Your string literals in source code may not contain the
KK> backslash character by itself, since it is the initializer
KK> to the C text source string escape sequence, such as found
KK> with '\t', '\0', '\n', and '\a'. If you want the backslash
KK> in your C source string literals, you must use '\\', so that
KK> the precompiler will recognize that you want a backslash.
KK> fopen("c:\\testfile", w); /* this will work. */
Yes, assuming w is a char pointer to a string, like "wt" or some such.
... A feature is a bug with seniority.
___ Blue Wave/DOS v2.30 [NR]
--- Maximus 2.01wb
* Origin: Basic'ly Computers: Mooo-ing Right Along. (1:153/9)SEEN-BY: 396/1 622/419 632/371 633/260 267 270 371 634/397 635/506 728 SEEN-BY: 639/252 670/213 218 @PATH: 153/104 2 716 7715 140/1 270/101 396/1 633/260 635/506 728 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.