Click here to Skip to main content
15,926,596 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: CPP for Mac Pin
George L. Jackson27-Apr-07 13:34
George L. Jackson27-Apr-07 13:34 
AnswerRe: CPP for Mac Pin
Christian Graus27-Apr-07 20:10
protectorChristian Graus27-Apr-07 20:10 
QuestionMulti threaded TCP server Pin
lalit_cit27-Apr-07 4:59
lalit_cit27-Apr-07 4:59 
Questionsomebody help me Pin
MIsahq26-Apr-07 19:39
MIsahq26-Apr-07 19:39 
AnswerRe: somebody help me Pin
Christian Graus26-Apr-07 20:51
protectorChristian Graus26-Apr-07 20:51 
GeneralRe: somebody help me Pin
led mike27-Apr-07 4:26
led mike27-Apr-07 4:26 
QuestionVC++2005, interface Pin
lavy288326-Apr-07 7:03
lavy288326-Apr-07 7:03 
Questionget extra large numbers??? Pin
g3RC4n26-Apr-07 6:56
g3RC4n26-Apr-07 6:56 
is there a libary or something where i can get numbers which have like 50 digits without truncation, for a program for find prime numbers etc???

also why i'm here

***************************************************
***************************************************

i'm trying to use the .clear() with vectors but they never work

Code:

#include <iostream>
#include <vector>

using namespace std;
int main()
{
vector<int>numbers;

int createindex = 100;

while(createindex)
{
numbers.push_back(createindex);
createindex--;
}
cout << numbers[20] << endl;
numbers.clear();
cout << numbers[20] << endl;

system("PAUSE");
return 0;
}


what am i doing wrong?

thanks i'n advanced
AnswerRe: get extra large numbers??? Pin
Christian Graus26-Apr-07 12:10
protectorChristian Graus26-Apr-07 12:10 
QuestionC++ text button save Pin
Anka_Ame26-Apr-07 3:59
Anka_Ame26-Apr-07 3:59 
AnswerRe: C++ text button save Pin
Christian Graus26-Apr-07 12:11
protectorChristian Graus26-Apr-07 12:11 
Questioncapturing time via rs232 Pin
braleping25-Apr-07 17:07
braleping25-Apr-07 17:07 
AnswerRe: capturing time via rs232 Pin
Christian Graus26-Apr-07 12:19
protectorChristian Graus26-Apr-07 12:19 
QuestionWindows Forms Pin
Anka_Ame25-Apr-07 6:06
Anka_Ame25-Apr-07 6:06 
AnswerRe: Windows Forms Pin
sarah_malik25-Apr-07 14:38
sarah_malik25-Apr-07 14:38 
QuestionDefinition of a Class in C++ (.NET Platform) Pin
Debun24-Apr-07 15:58
Debun24-Apr-07 15:58 
Questionchange permissions of an existing registry key Pin
programvinod23-Apr-07 22:37
programvinod23-Apr-07 22:37 
AnswerRe: change permissions of an existing registry key Pin
Christian Graus24-Apr-07 0:37
protectorChristian Graus24-Apr-07 0:37 
QuestionJava/C++.......Help me.!!! Pin
Skydeegay23-Apr-07 15:36
Skydeegay23-Apr-07 15:36 
AnswerRe: Java/C++.......Help me.!!! Pin
Christian Graus23-Apr-07 15:56
protectorChristian Graus23-Apr-07 15:56 
GeneralRe: Java/C++.......Help me.!!! Pin
Skydeegay24-Apr-07 0:09
Skydeegay24-Apr-07 0:09 
GeneralRe: Java/C++.......Help me.!!! Pin
George L. Jackson24-Apr-07 0:13
George L. Jackson24-Apr-07 0:13 
GeneralRe: Java/C++.......Help me.!!! Pin
Skydeegay24-Apr-07 1:30
Skydeegay24-Apr-07 1:30 
GeneralRe: Java/C++.......Help me.!!! Pin
George L. Jackson24-Apr-07 1:49
George L. Jackson24-Apr-07 1:49 
GeneralRe: Java/C++.......Help me.!!! Pin
Christian Graus24-Apr-07 0:32
protectorChristian Graus24-Apr-07 0:32 

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.