[vorbis] Getting started with vorbisfile_example.c (MS VC 6)

Craig Dickson crdic at pacbell.net
Thu Jun 27 20:10:14 PDT 2002


Greg Wooledge wrote:

> The code has another problem: the backslashes need to be doubled up.
> 
>   myfile = fopen("C:\\downloads\\music.ogg","rb");

Or better yet, replaced by forward slashes. Win32 will accept either,
and Unix won't accept backslashes, so the correct choice for portable
code is to use forward slashes for directory separators.

Craig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: part
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis/attachments/20020627/2acc632a/part.pgp


More information about the Vorbis mailing list