Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HELP NEEDED HERE. PLEASE ANYONE!!!! Pin
jermzypeter9-Feb-06 13:52
jermzypeter9-Feb-06 13:52 
GeneralRe: HELP NEEDED HERE. PLEASE ANYONE!!!! Pin
George L. Jackson9-Feb-06 14:09
George L. Jackson9-Feb-06 14:09 
GeneralRe: HELP NEEDED HERE. PLEASE ANYONE!!!! Pin
jermzypeter9-Feb-06 14:24
jermzypeter9-Feb-06 14:24 
GeneralRe: HELP NEEDED HERE. PLEASE ANYONE!!!! Pin
George L. Jackson9-Feb-06 15:00
George L. Jackson9-Feb-06 15:00 
QuestionVStudio 2005 - Manifest file not working anymore? Pin
LukeV9-Feb-06 12:33
LukeV9-Feb-06 12:33 
AnswerRe: VStudio 2005 - Manifest file not working anymore? Pin
George L. Jackson9-Feb-06 13:19
George L. Jackson9-Feb-06 13:19 
QuestionLast call for help... HEEEELP!!!! (Part 2) Pin
Lord Kixdemp9-Feb-06 12:29
Lord Kixdemp9-Feb-06 12:29 
AnswerRe: Last call for help... HEEEELP!!!! (Part 2) Pin
Shog99-Feb-06 14:45
sitebuilderShog99-Feb-06 14:45 
Strings in C are NULL-terminated. You must keep this in mind so as to allow room for this terminating character when reading in and writing out string data.

For instance: you're missing the last character of each line, because your buffer is one character short.
Then you're writing out NULLs, because you write out the terminating character with the rest of the string.

Grab your textbook or Google, and look up C strings - get a handle on how they work before you end up tromping all over memory. Smile | :)


----
Scripts i've known...
CPhog 0.9.9 - make CP better.
Forum Bookmark 0.2.1 - bookmark forum posts on Pensieve
Print forum 0.1.1 - printer-friendly forums

GeneralRe: Last call for help... HEEEELP!!!! (Part 2) Pin
Lord Kixdemp8-Mar-06 13:21
Lord Kixdemp8-Mar-06 13:21 
GeneralRe: Last call for help... HEEEELP!!!! (Part 2) Pin
Lord Kixdemp8-Mar-06 15:27
Lord Kixdemp8-Mar-06 15:27 
QuestionHow to override keydown? Pin
bskirkman9-Feb-06 11:52
bskirkman9-Feb-06 11:52 
AnswerRe: How to override keydown? Pin
_anil_9-Feb-06 13:52
_anil_9-Feb-06 13:52 
GeneralRe: How to override keydown? Pin
bskirkman9-Feb-06 14:51
bskirkman9-Feb-06 14:51 
QuestionDialogs in DLL's Pin
meinhard_risch9-Feb-06 10:54
meinhard_risch9-Feb-06 10:54 
AnswerRe: Dialogs in DLL's Pin
_anil_9-Feb-06 13:39
_anil_9-Feb-06 13:39 
GeneralRe: Dialogs in DLL's Pin
meinhard_risch10-Feb-06 3:41
meinhard_risch10-Feb-06 3:41 
QuestionHosting WebBrowser Control on CE.Net Device Pin
daniel_godshall9-Feb-06 10:39
daniel_godshall9-Feb-06 10:39 
QuestionMCBS Problem with Character Set Pin
sv2george9-Feb-06 10:05
sv2george9-Feb-06 10:05 
AnswerRe: MCBS Problem with Character Set Pin
Ryan Binns9-Feb-06 17:38
Ryan Binns9-Feb-06 17:38 
QuestionDLL Question Pin
Shay Harel9-Feb-06 10:04
Shay Harel9-Feb-06 10:04 
AnswerRe: DLL Question Pin
Rick York9-Feb-06 10:24
mveRick York9-Feb-06 10:24 
GeneralRe: DLL Question Pin
Shay Harel9-Feb-06 13:33
Shay Harel9-Feb-06 13:33 
AnswerRe: DLL Question Pin
sunit59-Feb-06 17:11
sunit59-Feb-06 17:11 
AnswerRe: DLL Question Pin
Ryan Binns9-Feb-06 17:39
Ryan Binns9-Feb-06 17:39 
QuestionPrinting Pin
#realJSOP9-Feb-06 9:11
professional#realJSOP9-Feb-06 9:11 

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.