Click here to Skip to main content
15,921,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Query data in unknown binary file Pin
Johnny ²20-Nov-03 5:24
Johnny ²20-Nov-03 5:24 
GeneralSimple problem Pin
helpapp19-Nov-03 17:53
helpapp19-Nov-03 17:53 
GeneralRe: Simple problem Pin
Antti Keskinen19-Nov-03 20:42
Antti Keskinen19-Nov-03 20:42 
GeneralRe: Simple problem Pin
helpapp19-Nov-03 22:41
helpapp19-Nov-03 22:41 
GeneralA Question On GDI+ Pin
Prakash Nadar19-Nov-03 17:15
Prakash Nadar19-Nov-03 17:15 
GeneralRe: A Question On GDI+ Pin
Mike Dimmick20-Nov-03 0:02
Mike Dimmick20-Nov-03 0:02 
GeneralReading in a file Pin
gymrat6119-Nov-03 17:01
sussgymrat6119-Nov-03 17:01 
GeneralRe: Reading in a file Pin
parths19-Nov-03 19:39
parths19-Nov-03 19:39 
What do you mean without storing it?

1. There is a structure stat and a function _stat (header types.h, refer MSDN)
2. You can use the FindFirstFile function to get the file info structure which contains the file attributes (MSDN again)

These two ways get you the file size without having to open in explicitly.

Hope this helps

"It was when I found out I could make mistakes that I knew I was on to something."
-Ornette Coleman

"Philosophy is a study that lets us be unhappy more intelligently."
-Anon.

GeneralRe: Reading in a file Pin
l a u r e n20-Nov-03 13:17
l a u r e n20-Nov-03 13:17 
GeneralWhen I meet the character "%"... Pin
Jim Chan19-Nov-03 15:09
Jim Chan19-Nov-03 15:09 
GeneralRe: When I meet the character "%"... Pin
Brian Shifrin19-Nov-03 15:25
Brian Shifrin19-Nov-03 15:25 
GeneralIE Toolbar Pin
okinawascubadiver19-Nov-03 13:50
okinawascubadiver19-Nov-03 13:50 
GeneralRe: IE Toolbar Pin
Peter Molnar20-Nov-03 10:25
Peter Molnar20-Nov-03 10:25 
GeneralRe: IE Toolbar Pin
Roger Stewart21-Nov-03 8:37
professionalRoger Stewart21-Nov-03 8:37 
QuestionWhich is the simplest way to close an application? Pin
julych19-Nov-03 11:54
julych19-Nov-03 11:54 
AnswerRe: Which is the simplest way to close an application? Pin
Peter Molnar19-Nov-03 12:37
Peter Molnar19-Nov-03 12:37 
GeneralRe: Which is the simplest way to close an application? Pin
julych19-Nov-03 19:33
julych19-Nov-03 19:33 
GeneralRe: Which is the simplest way to close an application? Pin
l a u r e n20-Nov-03 13:19
l a u r e n20-Nov-03 13:19 
AnswerRe: Which is the simplest way to close an application? Pin
alex.barylski19-Nov-03 12:48
alex.barylski19-Nov-03 12:48 
GeneralRe: Which is the simplest way to close an application? Pin
julych19-Nov-03 19:36
julych19-Nov-03 19:36 
GeneralRe: Which is the simplest way to close an application? Pin
alex.barylski19-Nov-03 20:13
alex.barylski19-Nov-03 20:13 
AnswerRe: Which is the simplest way to close an application? Pin
Peak19-Nov-03 19:48
Peak19-Nov-03 19:48 
AnswerRe: Which is the simplest way to close an application? Pin
Shehzad Salim19-Nov-03 22:25
Shehzad Salim19-Nov-03 22:25 
AnswerRe: Which is the simplest way to close an application? Pin
rickfly7020-Nov-03 3:05
rickfly7020-Nov-03 3:05 
QuestionIs it possible to restart my application from within my application? Pin
julych19-Nov-03 11:52
julych19-Nov-03 11:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.