Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Network programming questions Pin
Rick York22-Jun-05 6:22
mveRick York22-Jun-05 6:22 
GeneralRe: Network programming questions Pin
Christian Graus22-Jun-05 14:50
protectorChristian Graus22-Jun-05 14:50 
GeneralRe: Network programming questions Pin
David Crow22-Jun-05 3:52
David Crow22-Jun-05 3:52 
GeneralRe: Network programming questions Pin
Rick York22-Jun-05 6:23
mveRick York22-Jun-05 6:23 
GeneralEnumProcesses Problem!!! Pin
lewislewis_lewis21-Jun-05 11:27
lewislewis_lewis21-Jun-05 11:27 
GeneralRe: EnumProcesses Problem!!! Pin
Blake Miller21-Jun-05 11:33
Blake Miller21-Jun-05 11:33 
GeneralVector Pin
GreenLantern21-Jun-05 11:24
GreenLantern21-Jun-05 11:24 
GeneralRe: Vector Pin
Budric B.21-Jun-05 11:31
Budric B.21-Jun-05 11:31 
Which vector class are you talking about? For example the Standard Template Library provides an implementation of a vector class. The vector class can be used to store any number of elements of any type. For example you can have an array of integers but that is restricted to hold only as many items as you specify at the beginning as opposed to a vector in which you can store variable amount of data.

Here's some example code
<br />
std::vector<int> BunchOfNumbers;<br />
BunchOfNumbers.push_back(1);<br />
BunchOfNumbers.push_back(32);<br />
//continue adding elements at the back...<br />
<br />
//now print them out<br />
for (int j = 0; j < BunchOfNumbers.size(); j++)<br />
{<br />
   printf("%d", BunchOfNumbers[j]);<br />
}<br />

GeneralRe: Vector Pin
Giles21-Jun-05 11:46
Giles21-Jun-05 11:46 
GeneralRe: Vector Pin
Christian Graus21-Jun-05 13:35
protectorChristian Graus21-Jun-05 13:35 
GeneralRe: Vector Pin
John R. Shaw21-Jun-05 14:30
John R. Shaw21-Jun-05 14:30 
GeneralVectors or CList Pin
Wheatbread21-Jun-05 10:39
Wheatbread21-Jun-05 10:39 
GeneralRe: Vectors or CList Pin
Chris Losinger21-Jun-05 10:58
professionalChris Losinger21-Jun-05 10:58 
GeneralRe: Vectors or CList Pin
Christian Graus21-Jun-05 13:36
protectorChristian Graus21-Jun-05 13:36 
Generalmulti threading Pin
Ann6621-Jun-05 10:12
sussAnn6621-Jun-05 10:12 
GeneralRe: multi threading Pin
Blake Miller21-Jun-05 11:11
Blake Miller21-Jun-05 11:11 
GeneralRe: multi threading Pin
Ravi Bhavnani21-Jun-05 15:12
professionalRavi Bhavnani21-Jun-05 15:12 
GeneralRe: multi threading Pin
Blake Miller22-Jun-05 5:06
Blake Miller22-Jun-05 5:06 
GeneralRe: multi threading Pin
Ravi Bhavnani22-Jun-05 7:59
professionalRavi Bhavnani22-Jun-05 7:59 
GeneralMaking Menu Selections through Program Pin
Abhishek Karnik21-Jun-05 10:01
Abhishek Karnik21-Jun-05 10:01 
Generalstructs in C++ Pin
LCI21-Jun-05 8:40
LCI21-Jun-05 8:40 
GeneralRe: structs in C++ Pin
FlyingTinman21-Jun-05 8:58
FlyingTinman21-Jun-05 8:58 
GeneralRe: structs in C++ Pin
GDavy21-Jun-05 8:58
GDavy21-Jun-05 8:58 
GeneralRe: structs in C++ Pin
John R. Shaw21-Jun-05 15:11
John R. Shaw21-Jun-05 15:11 
QuestionHow to know running task? Pin
lewislewis_lewis21-Jun-05 8:37
lewislewis_lewis21-Jun-05 8:37 

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.