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

C / C++ / MFC

 
GeneralRe: HELP NEEDED HERE. PLEASE ANYONE!!!! Pin
George L. Jackson9-Feb-06 13:44
George L. Jackson9-Feb-06 13:44 
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 
Hello everyone! Big Grin | :-D
Remember my previous post? I think I almost got it now! Wink | ;-)
New problem: I'm reading a file with this:

char * curLine = new char[WIDTH/32];<br />
f[x]->getline(curLine, WIDTH/32);


This is my file:
<br />
ABCDEFGHIJKLMNO<br />
PQRSTUVWXYZABCD<br />
EFGHIJKLMNOPQRS<br />
TUVWXYZABCDEFGH<br />
IJKLMNOPQRSTUVW<br />
XYZABCDEFGHIJKL<br />
MNOPQRSTUVWXYZA<br />
BCDEFGHIJKLMNOP<br />
QRSTUVWXYZABCDE<br />
FGHIJKLMNOPQRST<br />
UVWXYZABCDEFGHI<br />
JKLMNOPQRSTUVWX


I'm outputting what my program reads to another file, but that file comes out a bit different when I open it with SciTE... It shows me some "NUL" character at the beginning of each line starting at line 2, and 1 character at the end is moved to the beginning of the next line, and that number increases by 2 each line... Am I reading my file wrong? Maybe it's a different number from WIDTH/32? (WIDTH/32 is 16, the number of characters per line). Sorry for bothering you guys so much about this... But thanks! Wink | ;-)

Lord Kixdemp
www.SulfurMidis.com
www.SulfurSoft.tk
[ftp://][http://][hotline://]tsfc.ath.cx
AnswerRe: Last call for help... HEEEELP!!!! (Part 2) Pin
Shog99-Feb-06 14:45
sitebuilderShog99-Feb-06 14:45 
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 

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.