By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,667 Members | 1,613 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,667 IT Pros & Developers. It's quick & easy.

C++ Builder 6 - Opening a File

P: 15
How to open a file (for reading) in C++ Builder using codes?
Apr 3 '06 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 5K+
P: 8,916
I doubt anyone will answer this question given the way it is phrased (of course I just have proving myself wrong:D)

What do you mean "using codes"?

I would have thought the 2 ways you could open a file were to use the Open item off the File menu or to put the file name on the command line when you run C++ Builder.

Of course if you actually mean what is the C/C++ code for opening a file that is a different question. There a re many ways 1 would be to use the function fopen.

You can find help for this function here. While you are there also read about fclose, fread and fwrite.
Apr 3 '06 #2

P: 15
Thanks for the reply!
Apr 5 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.