| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Visual C++ Programming Ask questions about Windows programming with Visual C++ and help others by answering their questions. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi about fileviewing andthe signs the file made from
1.)i need a c++ command which ablesme to view file like in notepad...
2.)is there any command in c++ which ables me to run a for loop on the signs which the file i am viewing consist of? 3.)if the answer for 2 is wrong where i can find the signs list a file im viewing in c++ can be consist from? |
|
#2
|
|||
|
|||
|
Re: hi about fileviewing andthe signs the file made from
You realize that doesn't make any sense at all, right?
|
|
#3
|
|||
|
|||
|
Re: hi about fileviewing andthe signs the file made from
why not make any sense ...dosent c++ have a command for opening file and viewing its content in any forms?
|
|
#4
|
||||
|
||||
|
Re: hi about fileviewing andthe signs the file made from
You can use CFile top read/write a file.
|
|
#5
|
|||
|
|||
|
Re: hi about fileviewing andthe signs the file made from
Quote:
Maybe English isn't your first language, but I've really been trying, but I can't come up with any interpretation of 2 and 3 where I have any idea what you're asking. Last edited by GCDEF; September 18th, 2009 at 12:58 PM. |
|
#6
|
||||
|
||||
|
Re: hi about fileviewing andthe signs the file made from
Quote:
if you want to open files and display in your own app, you'll need to use CFile or simular function to read in the bytes and load it in an editbox to see the data like notepad... hope that helps a little...
__________________
•SlimGradey• |
|
#7
|
||||
|
||||
|
Re: hi about fileviewing andthe signs the file made from
Quote:
__________________
Marius BancilaHome Page | Blog My CodeGuru articles My latest articles: A TR1 Tutorial: array, tuple, unordered containers, random number generators, regex, smart pointers Customizable alert window Try my VSBuildStatus add-in for Visual Studio 2005, 2008 & 2010 (v1.1). I do not offer technical support via PM or e-mail. Please use vbBulletin codes. |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|