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

Managed C++/CLI

 
GeneralRe: New to CLI Pin
Matt Newman18-Oct-04 6:02
Matt Newman18-Oct-04 6:02 
GeneralAborting a Thread:; won't leave AbortRequested state Pin
jblau17-Oct-04 14:56
jblau17-Oct-04 14:56 
GeneralWin32 like message loop Pin
Member 141177716-Oct-04 20:07
Member 141177716-Oct-04 20:07 
QuestionDOS 16-BIT client/server ??? Pin
porac6916-Oct-04 14:22
porac6916-Oct-04 14:22 
GeneralManaged Wrapper to Unmanaged DLL Pin
bluerpk15-Oct-04 18:24
bluerpk15-Oct-04 18:24 
Generalhowto addHotkey to Form/Button Pin
Krissh13-Oct-04 0:06
Krissh13-Oct-04 0:06 
GeneralRe: howto addHotkey to Form/Button Pin
Krissh18-Oct-04 6:55
Krissh18-Oct-04 6:55 
Generalpermutation in lexiographic order Pin
webmanc12-Oct-04 10:36
webmanc12-Oct-04 10:36 
I am currently having trouble in writing a permutation in lex order the function i am working bellow is needing to do this:

//return position of the smallest number between index start+1
//and size (inclusive) that is greater than v[start]

It however i dont believe works correctly. Can any one help me.

v is a vector that contains: abcd
i = the first value to the L < R
size is the v.size()

//call of function
giveMePositiontoSwap(v, i, size);

//function
int giveMePositiontoSwap(vector<valuetype> &v, int start, int size)
{
int smValue = size-1;
for(int i=start+1; i < size-1; i++)
{
//finds a value greater than v[start]
if(v[i] > v[start])
{
//finds smallest value within the index start+1 and size
if(v[i] < v[smValue])
smValue = i;
}
sortItems(v, i+1, size);
}
return smValue;
GeneralContainer set versus STL Pin
Gammill11-Oct-04 8:41
Gammill11-Oct-04 8:41 
GeneralRe: Container set versus STL Pin
John M. Drescher11-Oct-04 9:18
John M. Drescher11-Oct-04 9:18 
Generalpls help Pin
mrdudein9-Oct-04 4:15
mrdudein9-Oct-04 4:15 
GeneralRe: pls help Pin
Christian Graus12-Oct-04 10:57
protectorChristian Graus12-Oct-04 10:57 
GeneralRe: pls help Pin
Anonymous18-Oct-04 0:01
Anonymous18-Oct-04 0:01 
GeneralKeyDown problem Pin
yuvald8-Oct-04 12:06
yuvald8-Oct-04 12:06 
GeneralRe: KeyDown problem Pin
AnsGe8-Oct-04 21:11
AnsGe8-Oct-04 21:11 
GeneralRe: KeyDown problem Pin
yuvald8-Oct-04 23:37
yuvald8-Oct-04 23:37 
GeneralRe: KeyDown problem Pin
AnsGe9-Oct-04 0:43
AnsGe9-Oct-04 0:43 
GeneralRe: KeyDown problem Pin
yuvald9-Oct-04 1:59
yuvald9-Oct-04 1:59 
Generalambiguous error Pin
ISUstudent7-Oct-04 14:19
ISUstudent7-Oct-04 14:19 
GeneralStrings Pin
gremlin067-Oct-04 8:04
gremlin067-Oct-04 8:04 
GeneralRe: Strings Pin
George L. Jackson8-Oct-04 2:39
George L. Jackson8-Oct-04 2:39 
GeneralRe: Strings Pin
AnsGe8-Oct-04 21:18
AnsGe8-Oct-04 21:18 
GeneralRe: Strings Pin
Gammill11-Oct-04 8:49
Gammill11-Oct-04 8:49 
GeneralDelegate not working... Pin
David Moody7-Oct-04 4:07
David Moody7-Oct-04 4:07 
Questionanyone know how to connect...? Pin
porac696-Oct-04 14:25
porac696-Oct-04 14:25 

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.