Click here to Skip to main content
15,915,019 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSDK Pin
SilverShalkin12-Mar-02 15:31
SilverShalkin12-Mar-02 15:31 
GeneralRe: SDK Pin
Rick York12-Mar-02 15:35
mveRick York12-Mar-02 15:35 
GeneralRe: SDK Pin
alex.barylski12-Mar-02 16:13
alex.barylski12-Mar-02 16:13 
GeneralRe: bitwise command Pin
Merle Pittman12-Mar-02 5:00
Merle Pittman12-Mar-02 5:00 
GeneralGetting focus to Activex control Pin
Atila12-Mar-02 4:21
Atila12-Mar-02 4:21 
GeneralRe: multiple .cpp sharing same .h Pin
Tomasz Sowinski12-Mar-02 4:04
Tomasz Sowinski12-Mar-02 4:04 
GeneralRe: multiple .cpp sharing same .h Pin
567890123412-Mar-02 4:13
567890123412-Mar-02 4:13 
Generalwriting contents of a deque to a file Pin
Merle Pittman12-Mar-02 3:44
Merle Pittman12-Mar-02 3:44 
Hi all,

I am attempting to use a deque as a frame buffer reading data from a serial port. When the entire frame is received, I want to use the frame buffer (the deque) to write the contents of the deque to a file, enpty the deque and start collecting data for the next frame.

The problem I am having is in writing the contents of the deque to a file. I have some experience writing to files, but I am unsure how to do this using a deque. How do I write the contents of the deque to a file??

If anyone has done this before (which I'm sure many have) could you give me a few hints.

Thanks

Merle
GeneralRe: writing contents of a deque to a file Pin
Joaquín M López Muñoz12-Mar-02 6:33
Joaquín M López Muñoz12-Mar-02 6:33 
GeneralRe: writing contents of a deque to a file Pin
Nemanja Trifunovic12-Mar-02 7:05
Nemanja Trifunovic12-Mar-02 7:05 
GeneralRe: writing contents of a deque to a file Pin
Joaquín M López Muñoz12-Mar-02 8:04
Joaquín M López Muñoz12-Mar-02 8:04 
GeneralRe: writing contents of a deque to a file Pin
Nemanja Trifunovic12-Mar-02 8:43
Nemanja Trifunovic12-Mar-02 8:43 
GeneralRe: writing contents of a deque to a file Pin
Tim Smith12-Mar-02 12:01
Tim Smith12-Mar-02 12:01 
GeneralRe: writing contents of a deque to a file Pin
Joaquín M López Muñoz12-Mar-02 19:50
Joaquín M López Muñoz12-Mar-02 19:50 
GeneralRe: writing contents of a deque to a file Pin
Tim Smith13-Mar-02 2:03
Tim Smith13-Mar-02 2:03 
GeneralRe: writing contents of a deque to a file Pin
Joaquín M López Muñoz13-Mar-02 2:36
Joaquín M López Muñoz13-Mar-02 2:36 
GeneralRe: writing contents of a deque to a file Pin
Tim Smith13-Mar-02 4:13
Tim Smith13-Mar-02 4:13 
GeneralRe: writing contents of a deque to a file Pin
Joaquín M López Muñoz13-Mar-02 11:59
Joaquín M López Muñoz13-Mar-02 11:59 
GeneralRe: writing contents of a deque to a file Pin
Tim Smith13-Mar-02 12:20
Tim Smith13-Mar-02 12:20 
GeneralRe: writing contents of a deque to a file Pin
Nemanja Trifunovic13-Mar-02 12:31
Nemanja Trifunovic13-Mar-02 12:31 
GeneralRe: writing contents of a deque to a file Pin
Tim Smith13-Mar-02 13:16
Tim Smith13-Mar-02 13:16 
GeneralRe: writing contents of a deque to a file Pin
Tim Smith13-Mar-02 13:19
Tim Smith13-Mar-02 13:19 
QuestionHow can I get the accelerator char of a toolbar button? Pin
AmarB12-Mar-02 2:51
AmarB12-Mar-02 2:51 
AnswerRe: How can I get the accelerator char of a toolbar button? Pin
Joaquín M López Muñoz12-Mar-02 3:00
Joaquín M López Muñoz12-Mar-02 3:00 
GeneralRe: How can I get the accelerator char of a toolbar button? Pin
AmarB12-Mar-02 5:38
AmarB12-Mar-02 5:38 

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.