Click here to Skip to main content
15,921,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VS Printing feature Pin
Peter Molnar14-Nov-03 14:31
Peter Molnar14-Nov-03 14:31 
GeneralCStdioFile and positioning the pointer Pin
ns14-Nov-03 9:20
ns14-Nov-03 9:20 
GeneralRe: CStdioFile and positioning the pointer Pin
Ravi Bhavnani14-Nov-03 10:46
professionalRavi Bhavnani14-Nov-03 10:46 
Imho, you're much better off reading in the entire file into an object and exposing access methods in that object. File I/O is inherently slow. Further, since you're reading ASCII data (strings) and not binary fixed length records, you don't want to keep the file open for the lifetime of the app.

However, this may be a problem if your file is very large (eg: more than 64K strings).

/ravi

Let's put "civil" back in "civilization"
Home | Articles | Freeware | Music
ravib@ravib.com

QuestionWhere can I get Visual C++ 1.5 ? Pin
Cyrus Dang14-Nov-03 9:08
Cyrus Dang14-Nov-03 9:08 
AnswerRe: Where can I get Visual C++ 1.5 ? Pin
LasVegasGuy14-Nov-03 9:33
LasVegasGuy14-Nov-03 9:33 
GeneralRe: Where can I get Visual C++ 1.5 ? Pin
Ian Darling14-Nov-03 11:36
Ian Darling14-Nov-03 11:36 
GeneralRe: Where can I get Visual C++ 1.5 ? Pin
Kevin McFarlane15-Nov-03 4:17
Kevin McFarlane15-Nov-03 4:17 
AnswerRe: Where can I get Visual C++ 1.5 ? Pin
Ryan_Roberts14-Nov-03 9:42
Ryan_Roberts14-Nov-03 9:42 
AnswerRe: Where can I get Visual C++ 1.5 ? Pin
NormDroid14-Nov-03 9:52
professionalNormDroid14-Nov-03 9:52 
AnswerRe: Where can I get Visual C++ 1.5 ? Pin
Ravi Bhavnani14-Nov-03 10:42
professionalRavi Bhavnani14-Nov-03 10:42 
AnswerRe: Where can I get Visual C++ 1.5 ? Pin
Cyrus Dang14-Nov-03 11:04
Cyrus Dang14-Nov-03 11:04 
GeneralRe: Where can I get Visual C++ 1.5 ? Pin
Tom Archer14-Nov-03 12:12
Tom Archer14-Nov-03 12:12 
GeneralRe: Where can I get Visual C++ 1.5 ? Pin
Cyrus Dang14-Nov-03 12:19
Cyrus Dang14-Nov-03 12:19 
GeneralRe: Where can I get Visual C++ 1.5 ? Pin
Tom Archer14-Nov-03 12:26
Tom Archer14-Nov-03 12:26 
GeneralRe: Where can I get Visual C++ 1.5 ? Pin
Anonymous14-Nov-03 13:39
Anonymous14-Nov-03 13:39 
GeneralAnother delete problem Pin
DougW4814-Nov-03 8:50
DougW4814-Nov-03 8:50 
GeneralRe: Another delete problem Pin
DougW4814-Nov-03 8:57
DougW4814-Nov-03 8:57 
GeneralSound Please?! Pin
DaFrawg14-Nov-03 8:29
DaFrawg14-Nov-03 8:29 
GeneralRe: Sound Please?! Pin
basementman14-Nov-03 8:53
basementman14-Nov-03 8:53 
GeneralRe: Sound Please?! Pin
Alexander M.,14-Nov-03 22:39
Alexander M.,14-Nov-03 22:39 
GeneralRe: Sound Please?! Pin
DaFrawg16-Nov-03 10:19
DaFrawg16-Nov-03 10:19 
GeneralRe: Sound Please?! Pin
DaFrawg22-Nov-03 1:22
DaFrawg22-Nov-03 1:22 
GeneralDisplaying thumbnails Pin
harsh91114-Nov-03 8:20
harsh91114-Nov-03 8:20 
GeneralRe: Displaying thumbnails Pin
Maximilien14-Nov-03 8:47
Maximilien14-Nov-03 8:47 
GeneralRe: Displaying thumbnails Pin
Ryan_Roberts14-Nov-03 9:44
Ryan_Roberts14-Nov-03 9:44 

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.