Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What Serves as a ClassWizard in VC++7. Pin
Ryan B.9-Dec-02 6:07
Ryan B.9-Dec-02 6:07 
GeneralRe: What Serves as a ClassWizard in VC++7. Pin
Christian Graus9-Dec-02 9:46
protectorChristian Graus9-Dec-02 9:46 
GeneralMFC 7.0 Question Pin
Nick Parker8-Dec-02 17:35
protectorNick Parker8-Dec-02 17:35 
GeneralRe: MFC 7.0 Question Pin
Michael P Butler8-Dec-02 22:05
Michael P Butler8-Dec-02 22:05 
GeneralRe: MFC 7.0 Question Pin
Paul Ingles8-Dec-02 23:29
Paul Ingles8-Dec-02 23:29 
GeneralLoading words of a text string into array cells Pin
KBL8-Dec-02 17:22
KBL8-Dec-02 17:22 
GeneralRe: Loading words of a text string into array cells Pin
Christian Graus8-Dec-02 17:28
protectorChristian Graus8-Dec-02 17:28 
GeneralRe: Loading words of a text string into array cells Pin
Nick Parker8-Dec-02 18:03
protectorNick Parker8-Dec-02 18:03 
Christian Graus wrote:
You'll find life easier if you use std::string and std::vector though.

Just to build off of CG, I assume (should I say expect Poke tongue | ;-P ) he will make some comment about the following code soon. Wink | ;)

vector<std::string> vect;
vector<std::string>::iterator vi;
std::string a, b, c, d, e;
a = "Hello";
b = "This";
c = "is";
d = "a";
e = "test";

vect.push_back(a);
vect.push_back(b);
vect.push_back(c);
vect.push_back(d);
vect.push_back(e);

for(vi = vect.begin();vi != vect.end(); vi++)
    cout << vi->c_str() << " ";
    cout << endl;


Ah well, hope this helps. Going to bed now, I need to Sleepy | :zzz: .



Nick Parker

Not everything that can be counted counts, and not everything that counts can be counted. - Albert Einstein


GeneralRe: Loading words of a text string into array cells Pin
Christian Graus8-Dec-02 18:07
protectorChristian Graus8-Dec-02 18:07 
GeneralRe: Loading words of a text string into array cells Pin
KBL8-Dec-02 18:21
KBL8-Dec-02 18:21 
GeneralRe: Loading words of a text string into array cells Pin
KBL8-Dec-02 18:14
KBL8-Dec-02 18:14 
GeneralRe: Loading words of a text string into array cells Pin
KBL8-Dec-02 17:47
KBL8-Dec-02 17:47 
GeneralRe: Loading words of a text string into array cells Pin
Christian Graus8-Dec-02 17:56
protectorChristian Graus8-Dec-02 17:56 
GeneralRe: Loading words of a text string into array cells Pin
KBL8-Dec-02 18:17
KBL8-Dec-02 18:17 
GeneralRe: Loading words of a text string into array cells Pin
Christian Graus8-Dec-02 18:20
protectorChristian Graus8-Dec-02 18:20 
GeneralRe: Loading words of a text string into array cells Pin
KBL8-Dec-02 18:25
KBL8-Dec-02 18:25 
GeneralRe: Loading words of a text string into array cells Pin
KBL8-Dec-02 19:09
KBL8-Dec-02 19:09 
GeneralRe: Loading words of a text string into array cells Pin
Christian Graus8-Dec-02 20:12
protectorChristian Graus8-Dec-02 20:12 
GeneralHave problem with ComboBox with database Pin
Exceter8-Dec-02 17:07
Exceter8-Dec-02 17:07 
GeneralFlash UI components Pin
Stormwind8-Dec-02 16:08
Stormwind8-Dec-02 16:08 
GeneralRe: Flash UI components Pin
Brian Olej8-Dec-02 17:20
Brian Olej8-Dec-02 17:20 
GeneralRe: Flash UI components Pin
RicoH9-Dec-02 1:05
RicoH9-Dec-02 1:05 
GeneralRe: Flash UI components Pin
Stormwind9-Dec-02 15:39
Stormwind9-Dec-02 15:39 
GeneralAdo resource Pin
stevenson8-Dec-02 15:05
stevenson8-Dec-02 15:05 
GeneralRe: Ado resource Pin
Christian Graus8-Dec-02 16:18
protectorChristian Graus8-Dec-02 16:18 

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.