Re: Length of a file
From: jblazi (jblazi_at_hotmail.com)
Date: 03/21/04
- Next message: Leor Zolman: "Re: These are identical, right? char const* and const char*"
- Previous message: Leor Zolman: "Re: These are identical, right? char const* and const char*"
- In reply to: Thomas Matthews: "Re: Length of a file"
- Next in thread: Thomas Matthews: "Re: Length of a file"
- Reply: Thomas Matthews: "Re: Length of a file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 21 Mar 2004 22:49:48 +0100
On Sun, 21 Mar 2004 18:54:04 +0000, Thomas Matthews wrote:
> I found this when searching the C and C++ language
> newsgroups for "file length":
> http://www.google.com/groups?as_q=file%20length&safe=images&ie=UTF-8&oe=UTF-8&as_ugroup=comp.lang.c%2b%2b%2C%20comp.lang.c&lr=&hl=en
>
> Searching the newsgroups and the web before posting is
> always a Good Idea.
Yes it is. But after looking for the first 8 pages in Google I only find
comp.lang.c examples! I know, how to do it with the C runtime library, I
can say _filelength(fd) or use _stat (at least on Microsoft compilers).
What I wanted to know was, if there was a portable, well defined way of
doing it from C++.
Thank you anyway.
-- jb ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
- Next message: Leor Zolman: "Re: These are identical, right? char const* and const char*"
- Previous message: Leor Zolman: "Re: These are identical, right? char const* and const char*"
- In reply to: Thomas Matthews: "Re: Length of a file"
- Next in thread: Thomas Matthews: "Re: Length of a file"
- Reply: Thomas Matthews: "Re: Length of a file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|