Click here to Skip to main content
15,887,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSubclassing Dialogs Pin
Mike Zinni30-Dec-04 10:41
Mike Zinni30-Dec-04 10:41 
GeneralRe: Subclassing Dialogs Pin
Michael Bergman30-Dec-04 11:57
Michael Bergman30-Dec-04 11:57 
GeneralRe: Subclassing Dialogs Pin
PJ Arends30-Dec-04 12:10
professionalPJ Arends30-Dec-04 12:10 
GeneralDirectx problems Pin
samet karadağ30-Dec-04 10:36
samet karadağ30-Dec-04 10:36 
Generalthread programming Pin
tacvbo30-Dec-04 10:06
tacvbo30-Dec-04 10:06 
GeneralRe: thread programming Pin
ThatsAlok30-Dec-04 18:08
ThatsAlok30-Dec-04 18:08 
GeneralUsing Vectors Pin
dlarkin7730-Dec-04 9:29
dlarkin7730-Dec-04 9:29 
GeneralRe: Using Vectors Pin
ThatsAlok30-Dec-04 18:23
ThatsAlok30-Dec-04 18:23 
Hi Dlarkin!
there Is predefined VECTOR Class in STL under std namespace.

Search for Vector in you local copy of MSDN

or Here is Small tutorial to use that.

#include <vector>
#include <iostream.h>
std::vector<int> i;

void main()
{
//adding element
i.push_back(20);
i.push_back(30);
i.push_back(40);

//displaying element
std::vector<int>::iterator it;
for(int j=0,it=i.begin();it!=i.end();it++,j++)
cout<<j<" Element in vector is " <<*i<<endl;

}



"I Think this Will Help"
Alok Gupta
visit me at http://www.thisisalok.tk

GeneralRe: Using Vectors Pin
Neville Franks31-Dec-04 10:06
Neville Franks31-Dec-04 10:06 
GeneralProblem with USB Audio mu-Law Pin
Fei184087730-Dec-04 9:17
Fei184087730-Dec-04 9:17 
GeneralRe: Problem with USB Audio mu-Law Pin
namaskaaram2-Jan-05 17:22
namaskaaram2-Jan-05 17:22 
QuestionThe breakpoint will not currently be hit - Invalid file line! ??? Pin
clayman8730-Dec-04 9:16
clayman8730-Dec-04 9:16 
GeneralActiveX in a no-MFC application Pin
MainMa30-Dec-04 8:58
MainMa30-Dec-04 8:58 
QuestionHow Create a Printer Port Monitor?? Pin
raf-sp30-Dec-04 7:32
raf-sp30-Dec-04 7:32 
AnswerRe: How Create a Printer Port Monitor?? Pin
ThatsAlok30-Dec-04 21:59
ThatsAlok30-Dec-04 21:59 
GeneralRe: How Create a Printer Port Monitor?? Pin
raf-sp3-Jan-05 5:23
raf-sp3-Jan-05 5:23 
Generalproblem in RIP Pin
Chuan^230-Dec-04 6:26
Chuan^230-Dec-04 6:26 
GeneralRe: problem in RIP Pin
moliate2-Jan-05 11:57
moliate2-Jan-05 11:57 
GeneralConnection with Oracle 9i through VC++ Pin
Qaisar Ch30-Dec-04 6:03
sussQaisar Ch30-Dec-04 6:03 
GeneralWeird Class Wizard Problems. Pin
JD Steffen30-Dec-04 5:51
JD Steffen30-Dec-04 5:51 
GeneralMemory layout for XP Pin
Anonymous30-Dec-04 5:36
Anonymous30-Dec-04 5:36 
GeneralRe: Memory layout for XP Pin
David Crow30-Dec-04 8:32
David Crow30-Dec-04 8:32 
Generalmemory available on drive Pin
grace_sonal30-Dec-04 5:17
grace_sonal30-Dec-04 5:17 
GeneralRe: memory available on drive Pin
Michael Dunn30-Dec-04 5:59
sitebuilderMichael Dunn30-Dec-04 5:59 
GeneralIMAPI Problem Pin
Anorexic Tribble30-Dec-04 5:01
Anorexic Tribble30-Dec-04 5: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.