Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Refreshing Client Area Pin
Remi Morin21-Sep-01 3:41
Remi Morin21-Sep-01 3:41 
GeneralButtons......EditBox Pin
Ahmad9921-Sep-01 3:33
Ahmad9921-Sep-01 3:33 
GeneralRe: Buttons......EditBox Pin
21-Sep-01 6:18
suss21-Sep-01 6:18 
GeneralRe: Buttons......EditBox....Thanks and Need MoreHelp Pin
Ahmad9922-Sep-01 0:04
Ahmad9922-Sep-01 0:04 
GeneralRe: Buttons......EditBox....Thanks and Need MoreHelp Pin
Paolo Messina22-Sep-01 7:06
professionalPaolo Messina22-Sep-01 7:06 
GeneralRe: Buttons......EditBox Pin
Matt Gullett22-Sep-01 7:21
Matt Gullett22-Sep-01 7:21 
Questionhow can i bundle files into one file without creating the extension .zip?? Pin
DanYELL21-Sep-01 3:22
DanYELL21-Sep-01 3:22 
AnswerRe: how can i bundle files into one file without creating the extension .zip?? Pin
Steen Krogsgaard21-Sep-01 3:46
Steen Krogsgaard21-Sep-01 3:46 
If you can separate the individual text files with some unique character sequence (like 15 newlines in a row, or some other sequence), you can just write the texts to the file one at a time, writing an end-sequence after each text. When loading you read one char at a time until you hit the end-sequence. Then you start a new text and read on into this new one.

Another possibility is to make a header to write to the file first. It contains the number of texts in the file, their sizes and their starting offset into the file. Reading the file should be trivial.

Cheers
Steen.

"To claim that computer games influence children is rediculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
Generaltree view item Pin
21-Sep-01 2:29
suss21-Sep-01 2:29 
GeneralRe: tree view item Pin
Not Active21-Sep-01 3:04
mentorNot Active21-Sep-01 3:04 
GeneralYes, thank you! (NT) Pin
21-Sep-01 3:43
suss21-Sep-01 3:43 
GeneralCFile Pin
21-Sep-01 1:16
suss21-Sep-01 1:16 
GeneralRe: CFile Pin
21-Sep-01 1:40
suss21-Sep-01 1:40 
GeneralUsing common variable between two process Pin
21-Sep-01 0:46
suss21-Sep-01 0:46 
GeneralRe: Using common variable between two process Pin
Not Active21-Sep-01 2:49
mentorNot Active21-Sep-01 2:49 
GeneralRe: Using common variable between two process Pin
21-Sep-01 3:28
suss21-Sep-01 3:28 
GeneralRe: Using common variable between two process Pin
Ahmad9921-Sep-01 3:43
Ahmad9921-Sep-01 3:43 
GeneralRe: Using common variable between two process Pin
21-Sep-01 4:10
suss21-Sep-01 4:10 
GeneralRe: Using common variable between two process Pin
Christian Graus21-Sep-01 11:19
protectorChristian Graus21-Sep-01 11:19 
GeneralRe: Using common variable between two process Pin
Michael Dunn21-Sep-01 14:13
sitebuilderMichael Dunn21-Sep-01 14:13 
GeneralMulti-Language.....Menu Position...Awaiting For Right Answer Pin
Ahmad9920-Sep-01 23:32
Ahmad9920-Sep-01 23:32 
GeneralPlotting algebraic expressions Pin
20-Sep-01 23:27
suss20-Sep-01 23:27 
GeneralAbout Halftone Pin
Tango20-Sep-01 23:24
Tango20-Sep-01 23:24 
GeneralCFile Pin
20-Sep-01 22:55
suss20-Sep-01 22:55 
GeneralRe: CFile Pin
Michael P Butler20-Sep-01 23:07
Michael P Butler20-Sep-01 23:07 

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.