Click here to Skip to main content
15,949,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: //--------- i need some help please -------------// Pin
Hamid_RT21-Sep-06 0:14
Hamid_RT21-Sep-06 0:14 
GeneralRe: //--------- i need some help please -------------// Pin
Bravoone_200621-Sep-06 0:46
Bravoone_200621-Sep-06 0:46 
GeneralRe: //--------- i need some help please -------------// Pin
Hamid_RT21-Sep-06 2:01
Hamid_RT21-Sep-06 2:01 
GeneralRe: //--------- i need some help please -------------// Pin
Bravoone_200621-Sep-06 2:12
Bravoone_200621-Sep-06 2:12 
AnswerRe: //--------- i need some help please -------------// Pin
Eytukan21-Sep-06 4:06
Eytukan21-Sep-06 4:06 
JokeRe: //--------- i need some help please -------------// Pin
Hamid_RT21-Sep-06 20:05
Hamid_RT21-Sep-06 20:05 
JokeRe: //--------- i need some help please -------------// Pin
Eytukan21-Sep-06 21:27
Eytukan21-Sep-06 21:27 
Questionproblem with std::vector Pin
erfi20-Sep-06 23:21
erfi20-Sep-06 23:21 
in my header file i wrote this code:
class CMyDlg : public CDialog
{
public:
        int varCount;
	vector<<int> intVec;

        // ...
}

and in the cpp file wrote this code :
void CQMDlg::OnGetvarCountButton() 
{
     // initialize varCount
           
     for(int i=0;i!=varCount;i++)    
     {
	intVec.push_back(i);
     }
}

there is no error in compilation but when i press that specific button, program hangs.
can somebody help me?

thanks
QuestionRe: problem with std::vector Pin
prasad_som20-Sep-06 23:34
prasad_som20-Sep-06 23:34 
AnswerRe: problem with std::vector Pin
Waldermort20-Sep-06 23:35
Waldermort20-Sep-06 23:35 
GeneralRe: problem with std::vector Pin
erfi20-Sep-06 23:41
erfi20-Sep-06 23:41 
GeneralRe: problem with std::vector Pin
Christian Graus21-Sep-06 0:16
protectorChristian Graus21-Sep-06 0:16 
GeneralRe: problem with std::vector Pin
prasad_som21-Sep-06 0:42
prasad_som21-Sep-06 0:42 
GeneralRe: problem with std::vector Pin
erfi21-Sep-06 1:08
erfi21-Sep-06 1:08 
QuestionRe: problem with std::vector Pin
prasad_som21-Sep-06 0:49
prasad_som21-Sep-06 0:49 
AnswerRe: problem with std::vector Pin
Mr.Brainley21-Sep-06 1:16
Mr.Brainley21-Sep-06 1:16 
GeneralRe: problem with std::vector Pin
prasad_som21-Sep-06 1:28
prasad_som21-Sep-06 1:28 
GeneralRe: problem with std::vector [modified] Pin
Zac Howland21-Sep-06 3:34
Zac Howland21-Sep-06 3:34 
GeneralRe: problem with std::vector Pin
prasad_som21-Sep-06 3:48
prasad_som21-Sep-06 3:48 
QuestionPopulating a ComboBox Pin
namy3120-Sep-06 23:13
namy3120-Sep-06 23:13 
QuestionRe: Populating a ComboBox Pin
prasad_som20-Sep-06 23:36
prasad_som20-Sep-06 23:36 
AnswerRe: Populating a ComboBox Pin
namy121-Sep-06 2:30
namy121-Sep-06 2:30 
AnswerRe: Populating a ComboBox Pin
Hamid_RT21-Sep-06 0:17
Hamid_RT21-Sep-06 0:17 
GeneralRe: Populating a ComboBox Pin
namy121-Sep-06 2:33
namy121-Sep-06 2:33 
GeneralRe: Populating a ComboBox Pin
prasad_som21-Sep-06 3:01
prasad_som21-Sep-06 3:01 

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.