Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
David Crow8-Dec-09 3:20
David Crow8-Dec-09 3:20 
AnswerRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
Larry Mills Sr8-Dec-09 4:12
Larry Mills Sr8-Dec-09 4:12 
GeneralRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
Larry Mills Sr9-Dec-09 4:25
Larry Mills Sr9-Dec-09 4:25 
AnswerRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
David Crow9-Dec-09 4:29
David Crow9-Dec-09 4:29 
GeneralRe: Why I cannot have a ListControl in a CRecordView derived class? Pin
Larry Mills Sr9-Dec-09 4:47
Larry Mills Sr9-Dec-09 4:47 
QuestionMessage mapping Pin
msr_codeproject29-Nov-09 6:56
msr_codeproject29-Nov-09 6:56 
AnswerRe: Message mapping Pin
«_Superman_»29-Nov-09 8:15
professional«_Superman_»29-Nov-09 8:15 
AnswerRe: Message mapping Pin
Rajesh R Subramanian29-Nov-09 8:18
professionalRajesh R Subramanian29-Nov-09 8:18 
QuestionDev C++ cant accept vector?? Pin
nuttynibbles29-Nov-09 5:10
nuttynibbles29-Nov-09 5:10 
AnswerRe: Dev C++ cant accept vector?? Pin
Rajesh R Subramanian29-Nov-09 5:19
professionalRajesh R Subramanian29-Nov-09 5:19 
GeneralRe: Dev C++ cant accept vector?? [modified] Pin
nuttynibbles29-Nov-09 6:40
nuttynibbles29-Nov-09 6:40 
GeneralRe: Dev C++ cant accept vector?? Pin
Rajesh R Subramanian29-Nov-09 6:54
professionalRajesh R Subramanian29-Nov-09 6:54 
GeneralRe: Dev C++ cant accept vector?? Pin
nuttynibbles29-Nov-09 6:57
nuttynibbles29-Nov-09 6:57 
AnswerRe: Dev C++ cant accept vector?? Pin
Sarath C29-Nov-09 13:27
Sarath C29-Nov-09 13:27 
GeneralRe: Dev C++ cant accept vector?? Pin
nuttynibbles29-Nov-09 18:36
nuttynibbles29-Nov-09 18:36 
GeneralRe: Dev C++ cant accept vector?? Pin
Cedric Moonen29-Nov-09 20:25
Cedric Moonen29-Nov-09 20:25 
GeneralRe: Dev C++ cant accept vector?? Pin
CPallini29-Nov-09 21:11
mveCPallini29-Nov-09 21:11 
The following piece of code (basically yours...) runs fine on my system (WinXP, Visual Studio 2005):
#include <string>
#include <vector>
#include <iostream>
using namespace std;
void main()
{

  vector<string> vectorstr;
  vectorstr.push_back("...."); 

  for(int i=0;i<vectorstr.size(); i++)
  {
	  cout << "test:" << vectorstr.at(i) << endl;		
  }

}


If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: Dev C++ cant accept vector?? Pin
Sarath C29-Nov-09 22:53
Sarath C29-Nov-09 22:53 
AnswerRe: Dev C++ cant accept vector?? Pin
Rajesh R Subramanian30-Nov-09 4:48
professionalRajesh R Subramanian30-Nov-09 4:48 
QuestionNotification of user login Pin
AmitCohen22229-Nov-09 5:00
AmitCohen22229-Nov-09 5:00 
AnswerRe: Notification of user login Pin
«_Superman_»29-Nov-09 6:03
professional«_Superman_»29-Nov-09 6:03 
QuestionHelp with Error Message Pin
cdpace29-Nov-09 2:53
cdpace29-Nov-09 2:53 
AnswerRe: Help with Error Message Pin
cdpace29-Nov-09 2:55
cdpace29-Nov-09 2:55 
GeneralRe: Help with Error Message Pin
Richard MacCutchan29-Nov-09 5:43
mveRichard MacCutchan29-Nov-09 5:43 
Questionstring concat Pin
nuttynibbles28-Nov-09 22:36
nuttynibbles28-Nov-09 22:36 

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.