Click here to Skip to main content
15,895,880 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
work_to_live29-Oct-02 14:06
work_to_live29-Oct-02 14:06 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
Chris Losinger29-Oct-02 14:33
professionalChris Losinger29-Oct-02 14:33 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
work_to_live29-Oct-02 16:10
work_to_live29-Oct-02 16:10 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
Chris Losinger29-Oct-02 16:13
professionalChris Losinger29-Oct-02 16:13 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
work_to_live29-Oct-02 16:26
work_to_live29-Oct-02 16:26 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
Chris Losinger29-Oct-02 16:30
professionalChris Losinger29-Oct-02 16:30 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
work_to_live29-Oct-02 16:48
work_to_live29-Oct-02 16:48 
QuestionCircular Queue maybe STL...? Pin
alex.barylski29-Oct-02 13:02
alex.barylski29-Oct-02 13:02 
First and formost...I hope I don't get chewed out for not posting this in STL/ATL/WTL forum, but I figured this question was suitable for this forum also... Smile | :)

I need a specialized circular queue, so i'll give the requirements and maybe you can tell me if this functionality already exists in STL or something (I don't care for UNDO/REDO systems available on CP, i've buily my own and their to flexible for this purpose )...but I think i'm gonna have to start from scratch...

1) Linear array of bytes(vector???) using new/delete, NOT lists
2) Must be able to specify size(s) MIN and MAX
- Min is the minumum incremental size and starting size of queue (actually it's an item count)
- Max is how large the queue can grow. Each time Min is reached the queue is expanded by Min+=Min
3) Functionality should be similar to a LIFO stack

I figure this would make for an efficient UNDO/REDO system for a fixed data type(Byte's).

I have already implemented something like this before, but didn't include dynamic queue re-allocation. My hopes are that STL has something like this already...?

p.s- I hope I made sense... Blush | :O

[edit]Thinking in C++ says that rings don't exist in STL, so it's safe to assume i'll porlly have to do this myself???[/edit]

Thanx! Smile | :)

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
AnswerRe: Circular Queue maybe STL...? Pin
Tim Smith29-Oct-02 14:03
Tim Smith29-Oct-02 14:03 
GeneralRe: Circular Queue maybe STL...? Pin
alex.barylski29-Oct-02 18:34
alex.barylski29-Oct-02 18:34 
GeneralDouble to Binary Pin
Matthew R. Miller29-Oct-02 12:55
Matthew R. Miller29-Oct-02 12:55 
GeneralRe: Double to Binary Pin
John M. Drescher29-Oct-02 13:34
John M. Drescher29-Oct-02 13:34 
GeneralRe: Double to Binary Pin
Chris Losinger29-Oct-02 13:36
professionalChris Losinger29-Oct-02 13:36 
GeneralSplitter within a view :: MFC Pin
clintsinger29-Oct-02 11:46
clintsinger29-Oct-02 11:46 
GeneralRe: Splitter within a view :: MFC Pin
jhwurmbach29-Oct-02 22:06
jhwurmbach29-Oct-02 22:06 
GeneralMinimum Windows Size (CFormView) :: MFC Pin
valikac29-Oct-02 10:22
valikac29-Oct-02 10:22 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
Joaquín M López Muñoz29-Oct-02 11:20
Joaquín M López Muñoz29-Oct-02 11:20 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
niuhaiyun19-Nov-02 0:25
niuhaiyun19-Nov-02 0:25 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
Shog929-Oct-02 11:35
sitebuilderShog929-Oct-02 11:35 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
valikac29-Oct-02 12:41
valikac29-Oct-02 12:41 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
Shog929-Oct-02 13:09
sitebuilderShog929-Oct-02 13:09 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
valikac29-Oct-02 13:16
valikac29-Oct-02 13:16 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
Shog929-Oct-02 13:24
sitebuilderShog929-Oct-02 13:24 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
valikac29-Oct-02 13:27
valikac29-Oct-02 13:27 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
Shog929-Oct-02 13:29
sitebuilderShog929-Oct-02 13:29 

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.