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

Managed C++/CLI

 
Questiongarbage collection fails? Pin
cchere23-Apr-05 13:04
cchere23-Apr-05 13:04 
GeneralBaseClass Interaction Problem Pin
classsystem23-Apr-05 5:21
sussclasssystem23-Apr-05 5:21 
GeneralRe: BaseClass Interaction Problem Pin
toxcct26-Apr-05 0:40
toxcct26-Apr-05 0:40 
GeneralRe: BaseClass Interaction Problem Pin
classsystem1-May-05 5:29
sussclasssystem1-May-05 5:29 
GeneralRe: BaseClass Interaction Problem Pin
toxcct1-May-05 19:59
toxcct1-May-05 19:59 
GeneralRe: BaseClass Interaction Problem Pin
classsystem2-May-05 15:56
sussclasssystem2-May-05 15:56 
GeneralRadioButtons and Groups Pin
Yaron Abershitz19-Apr-05 2:45
Yaron Abershitz19-Apr-05 2:45 
Generalsearching a map Pin
{cellardoor}16-Apr-05 13:03
{cellardoor}16-Apr-05 13:03 
Hey folks:

I have a map which contains a string and another map. The inner map tracks vector types (ascending, descending, random, oneValue) and the time it takes to sort that type. i need to isolate the fasted time for each type of vector. The outer map contains the different sort types(quickSort, insertionSort, etc).

i have the type isolated but im having trouble isolating and comparing the times. This is what i have so far:

void PrintMap(const sortType& sType)
{
for(sortType::const_iterator it = sType.begin(); it != sType.end(); ++it)
{
for(sMap::const_iterator innerIt = it->second.begin(); innerIt != it->second.end(); ++innerIt)
{
if(innerIt-first == "Random")
{
cout << it->first << " with " << innerIt->first << " vector, time: " << innerIt->second
<< endl;
}
}
}
}

innerIt->second represents the time in question. There are four different types of vector arragements for each sort. i need to find the fasted for each sort and print them to the console.

if anyone has any thoughts id appreciate it.

Thanks,

Phil
GeneralRe: searching a map Pin
Christian Graus17-Apr-05 17:43
protectorChristian Graus17-Apr-05 17:43 
General_MM_SHUFFLE question Pin
swati2415-Apr-05 23:09
swati2415-Apr-05 23:09 
GeneralClear the screen Pin
Larsson14-Apr-05 21:10
Larsson14-Apr-05 21:10 
GeneralRe: Clear the screen Pin
IdUnknown15-Apr-05 15:23
IdUnknown15-Apr-05 15:23 
General2005 Beta-1 C++/CLI Pin
TFB14-Apr-05 7:30
TFB14-Apr-05 7:30 
GeneralRe: 2005 Beta-1 C++/CLI Pin
Sheng Jiang 蒋晟20-Apr-05 12:33
Sheng Jiang 蒋晟20-Apr-05 12:33 
GeneralRe: 2005 Beta-1 C++/CLI Pin
TFB21-Apr-05 6:58
TFB21-Apr-05 6:58 
GeneralMicrosoft Word - Read Only and DisplayAlerts Ignored (important) Pin
User 172888413-Apr-05 23:43
User 172888413-Apr-05 23:43 
GeneralRe: Microsoft Word - Read Only and DisplayAlerts Ignored (important) Pin
ursus zeta14-Apr-05 10:04
ursus zeta14-Apr-05 10:04 
GeneralAccess Denied Reading Registry Pin
rexpiper13-Apr-05 7:25
rexpiper13-Apr-05 7:25 
GeneralRe: Access Denied Reading Registry Pin
rexpiper13-Apr-05 7:37
rexpiper13-Apr-05 7:37 
Generalout of paper error Pin
thamate12-Apr-05 22:28
thamate12-Apr-05 22:28 
Generalstoring diffgram element values in database tables Pin
gauravmitra12-Apr-05 0:59
gauravmitra12-Apr-05 0:59 
GeneralConvert char to int Pin
Larsson10-Apr-05 8:21
Larsson10-Apr-05 8:21 
GeneralRe: Convert char to int Pin
Christian Graus10-Apr-05 11:53
protectorChristian Graus10-Apr-05 11:53 
GeneralRe: Convert char to int Pin
ddmcr11-Apr-05 9:07
ddmcr11-Apr-05 9:07 
GeneralRe: Convert char to int Pin
Larsson12-Apr-05 5:30
Larsson12-Apr-05 5:30 

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.