Click here to Skip to main content
15,906,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to lay some Text Edit Controls in a Scroll View Pin
Karismatic11-Oct-07 19:25
Karismatic11-Oct-07 19:25 
QuestionVector Assertion Failure. Pin
Michael10111-Oct-07 13:37
Michael10111-Oct-07 13:37 
AnswerRe: Vector Assertion Failure. Pin
User 58385211-Oct-07 17:38
User 58385211-Oct-07 17:38 
GeneralRe: Vector Assertion Failure. Pin
Michael10111-Oct-07 17:55
Michael10111-Oct-07 17:55 
GeneralRe: Vector Assertion Failure. Pin
User 58385211-Oct-07 18:13
User 58385211-Oct-07 18:13 
GeneralRe: Vector Assertion Failure. Pin
Michael10111-Oct-07 18:22
Michael10111-Oct-07 18:22 
GeneralRe: Vector Assertion Failure. Pin
Michael10111-Oct-07 18:29
Michael10111-Oct-07 18:29 
GeneralRe: Vector Assertion Failure. Pin
User 58385211-Oct-07 18:29
User 58385211-Oct-07 18:29 
Michael101 wrote:
Iter is initialised at the beginning of the program like this ->

register vector::iterator Iter;


Why are you using register? I would definatly get rid of that at least for the time being.

I was asking about the initialisation of Counter. Where is it initialised?

Michael101 wrote:
Have you ever had problems with Iterators after adding in a container to your vector?


I'm pretty sure adding a value to the end of your vector shuold not invalidate your iterators but you might want to see if you can verify that. Google should help. If you supect thats an issue add new values to a temp vector and then copy them to your real vector after you've finished iterating throught it.


The STL is birilliant but its not an easy beast to master. I sugest a couple of good books like Effective STL by Meyers
GeneralRe: Vector Assertion Failure. Pin
Michael10111-Oct-07 18:42
Michael10111-Oct-07 18:42 
AnswerRe: Vector Assertion Failure. Pin
jhwurmbach11-Oct-07 21:51
jhwurmbach11-Oct-07 21:51 
QuestionRe: Vector Assertion Failure. Pin
David Crow12-Oct-07 2:46
David Crow12-Oct-07 2:46 
Questionconvert double to unsigned short Pin
l_d11-Oct-07 9:43
l_d11-Oct-07 9:43 
AnswerRe: convert double to unsigned short Pin
led mike11-Oct-07 10:12
led mike11-Oct-07 10:12 
JokeRe: convert double to unsigned short Pin
Mark Salsbery11-Oct-07 13:21
Mark Salsbery11-Oct-07 13:21 
AnswerRe: convert double to unsigned short Pin
Stephen Hewitt11-Oct-07 17:50
Stephen Hewitt11-Oct-07 17:50 
AnswerRe: convert double to unsigned short Pin
Nelek11-Oct-07 20:01
protectorNelek11-Oct-07 20:01 
GeneralRe: convert double to unsigned short Pin
led mike12-Oct-07 4:48
led mike12-Oct-07 4:48 
GeneralRe: convert double to unsigned short Pin
Nelek29-Oct-07 22:11
protectorNelek29-Oct-07 22:11 
QuestionFill Data in Active Window Pin
vikrant kpr11-Oct-07 9:21
vikrant kpr11-Oct-07 9:21 
QuestionImage enhancment Pin
Deepu Antony11-Oct-07 9:05
Deepu Antony11-Oct-07 9:05 
AnswerRe: Image enhancment Pin
led mike11-Oct-07 9:42
led mike11-Oct-07 9:42 
QuestionTemplate related error for non-template code? Pin
Franz Klein11-Oct-07 8:36
Franz Klein11-Oct-07 8:36 
AnswerRe: Template related error for non-template code? Pin
led mike11-Oct-07 8:58
led mike11-Oct-07 8:58 
AnswerRe: Template related error for non-template code? Pin
Nemanja Trifunovic11-Oct-07 8:59
Nemanja Trifunovic11-Oct-07 8:59 
AnswerRe: Template related error for non-template code? Pin
Stephen Hewitt11-Oct-07 17:52
Stephen Hewitt11-Oct-07 17:52 

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.