Click here to Skip to main content
16,006,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalgetting internet explorer address Pin
Kuniva24-Oct-01 7:31
Kuniva24-Oct-01 7:31 
GeneralRe: getting internet explorer address Pin
24-Oct-01 7:36
suss24-Oct-01 7:36 
GeneralRe: getting internet explorer address Pin
LukeV24-Oct-01 7:40
LukeV24-Oct-01 7:40 
GeneralRe: getting internet explorer address Pin
Kuniva24-Oct-01 8:27
Kuniva24-Oct-01 8:27 
GeneralCounting lines in textfile Pin
24-Oct-01 7:29
suss24-Oct-01 7:29 
GeneralRe: Counting lines in textfile Pin
Tomasz Sowinski24-Oct-01 7:36
Tomasz Sowinski24-Oct-01 7:36 
GeneralRe: Counting lines in textfile Pin
24-Oct-01 7:39
suss24-Oct-01 7:39 
GeneralRe: Counting lines in textfile Pin
Tomasz Sowinski24-Oct-01 7:51
Tomasz Sowinski24-Oct-01 7:51 
If possible, I'd like to use pure Win32 without MFC

You'll have to look for line breaks yourself - Win32 API doesn't differentiate between 'binary' and 'text' files. Call ReadFile in the loop until EOF and search for \n in the input buffer.

Tomasz Sowinski -- http://www.shooltz.com
GeneralRe: Counting lines in textfile Pin
24-Oct-01 7:58
suss24-Oct-01 7:58 
GeneralRe: Counting lines in textfile Pin
Tomasz Sowinski24-Oct-01 8:12
Tomasz Sowinski24-Oct-01 8:12 
GeneralThanks! :) Pin
24-Oct-01 8:41
suss24-Oct-01 8:41 
Generalfopen and CFile::Open Differences Pin
Chris Meech24-Oct-01 7:16
Chris Meech24-Oct-01 7:16 
GeneralRe: fopen and CFile::Open Differences Pin
Tomasz Sowinski24-Oct-01 7:23
Tomasz Sowinski24-Oct-01 7:23 
GeneralRe: fopen and CFile::Open Differences Pin
Chris Meech24-Oct-01 7:28
Chris Meech24-Oct-01 7:28 
GeneralTOOL TIPS Pin
24-Oct-01 6:31
suss24-Oct-01 6:31 
GeneralRe: TOOL TIPS Pin
Tomasz Sowinski24-Oct-01 6:38
Tomasz Sowinski24-Oct-01 6:38 
GeneralRe: TOOL TIPS Pin
24-Oct-01 7:05
suss24-Oct-01 7:05 
GeneralRe: TOOL TIPS Pin
Tomasz Sowinski24-Oct-01 7:18
Tomasz Sowinski24-Oct-01 7:18 
GeneralRe: TOOL TIPS Pin
24-Oct-01 7:39
suss24-Oct-01 7:39 
GeneralTime Server Pin
24-Oct-01 5:53
suss24-Oct-01 5:53 
GeneralRe: Time Server Pin
Jon Sagara24-Oct-01 6:22
Jon Sagara24-Oct-01 6:22 
QuestionRecommend debugger (i.e. BoundsChecker, etc...)? Pin
Sean McKinnon24-Oct-01 5:13
Sean McKinnon24-Oct-01 5:13 
AnswerRe: Recommend debugger (i.e. BoundsChecker, etc...)? Pin
Chris Losinger24-Oct-01 5:36
professionalChris Losinger24-Oct-01 5:36 
AnswerRe: Recommend debugger (i.e. BoundsChecker, etc...)? Pin
Carlos Antollini24-Oct-01 5:42
Carlos Antollini24-Oct-01 5:42 
AnswerRe: Recommend debugger (i.e. BoundsChecker, etc...)? Pin
#realJSOP24-Oct-01 5:53
professional#realJSOP24-Oct-01 5:53 

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.