Click here to Skip to main content
15,900,563 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Array of Pointers to Strings Pin
Joaquín M López Muñoz29-Aug-02 11:21
Joaquín M López Muñoz29-Aug-02 11:21 
GeneralRe: Array of Pointers to Strings Pin
Null_Vector29-Aug-02 11:20
Null_Vector29-Aug-02 11:20 
GeneralRe: Array of Pointers to Strings Pin
Michael Dunn29-Aug-02 12:01
sitebuilderMichael Dunn29-Aug-02 12:01 
GeneralEdit control -- detecting when no more text can be entered Pin
Anonymous29-Aug-02 10:38
Anonymous29-Aug-02 10:38 
GeneralRe: Edit control -- detecting when no more text can be entered Pin
Tomasz Sowinski29-Aug-02 10:52
Tomasz Sowinski29-Aug-02 10:52 
GeneralRe: Edit control -- detecting when no more text can be entered Pin
Anonymous29-Aug-02 10:57
Anonymous29-Aug-02 10:57 
GeneralWierd Letter Pin
Nick Parker29-Aug-02 9:39
protectorNick Parker29-Aug-02 9:39 
GeneralRe: Wierd Letter Pin
Joel Holdsworth29-Aug-02 9:57
Joel Holdsworth29-Aug-02 9:57 
Hi There,
It looks like you've got some kind of string memory problem, because ÿ is the 255 charachter - 0xFF. 0xFF, 0x00, 0xFC and 0xCC are often found floating around in unallocated memory, so it looks as if your somehow spitting charachters which are not in the file, check your loop, and how the get() command works. I think this could be your problem. If your still unsure, add this code (just for debugging)

while(! inFile.eof())
{
   c = inFile.get();

   if(c == 0xFF)
   {
      //break in here, and  see if you can figure out the problem with the debugger
   }

   if(c != inFile.eof())
   {
      outFile << c;
   }
}


Hope thats useful


With time we live, with money we spend!
Joel Holdsworth.

GeneralRe: Wierd Letter Pin
Tomasz Sowinski29-Aug-02 10:06
Tomasz Sowinski29-Aug-02 10:06 
GeneralRe: Listview problems!!! AAAAAAAaaaaaaaaa Pin
Ray Cassick29-Aug-02 9:26
Ray Cassick29-Aug-02 9:26 
GeneralButton control for exiting a program Pin
Brad Jennings29-Aug-02 9:01
Brad Jennings29-Aug-02 9:01 
GeneralRe: Button control for exiting a program Pin
Carlos Antollini29-Aug-02 9:08
Carlos Antollini29-Aug-02 9:08 
GeneralRe: Button control for exiting a program Pin
Brad Jennings29-Aug-02 9:34
Brad Jennings29-Aug-02 9:34 
GeneralRe: Button control for exiting a program Pin
Joaquín M López Muñoz29-Aug-02 9:28
Joaquín M López Muñoz29-Aug-02 9:28 
GeneralRe: Button control for exiting a program Pin
Brad Jennings29-Aug-02 10:04
Brad Jennings29-Aug-02 10:04 
GeneralFile API Question Pin
Nick Parker29-Aug-02 8:37
protectorNick Parker29-Aug-02 8:37 
GeneralRe: File API Question Pin
Carlos Antollini29-Aug-02 8:48
Carlos Antollini29-Aug-02 8:48 
GeneralRe: File API Question Pin
Joaquín M López Muñoz29-Aug-02 9:02
Joaquín M López Muñoz29-Aug-02 9:02 
GeneralRe: File API Question Pin
Brian Delahunty29-Aug-02 10:06
Brian Delahunty29-Aug-02 10:06 
GeneralRe: File API Question Pin
Carlos Antollini29-Aug-02 11:08
Carlos Antollini29-Aug-02 11:08 
GeneralRe: File API Question Pin
Joaquín M López Muñoz29-Aug-02 11:16
Joaquín M López Muñoz29-Aug-02 11:16 
GeneralRe: File API Question Pin
Brian Delahunty29-Aug-02 10:07
Brian Delahunty29-Aug-02 10:07 
GeneralDatabase recommendations and questions Pin
Chris Hambleton29-Aug-02 8:06
Chris Hambleton29-Aug-02 8:06 
GeneralRe: Database recommendations and questions Pin
Carlos Antollini29-Aug-02 8:27
Carlos Antollini29-Aug-02 8:27 

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.