Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTAPI hold/Resume Transfer Pin
sanju_kg2-May-06 18:19
sanju_kg2-May-06 18:19 
AnswerRe: TAPI hold/Resume Transfer Pin
voorugonda prashanth2-May-06 19:10
voorugonda prashanth2-May-06 19:10 
Questionright click on any File / Folder Pin
rajeevktripathi2-May-06 18:09
rajeevktripathi2-May-06 18:09 
AnswerRe: right click on any File / Folder Pin
Nibu babu thomas2-May-06 18:41
Nibu babu thomas2-May-06 18:41 
Questionhow to get all possible randomized number.. Pin
makaveli_072-May-06 16:57
makaveli_072-May-06 16:57 
AnswerRe: how to get all possible randomized number.. Pin
Stephen Hewitt2-May-06 18:05
Stephen Hewitt2-May-06 18:05 
GeneralRe: how to get all possible randomized number.. Pin
makaveli_072-May-06 18:20
makaveli_072-May-06 18:20 
GeneralRe: how to get all possible randomized number.. Pin
Stephen Hewitt2-May-06 18:25
Stephen Hewitt2-May-06 18:25 
I'm still not sure what you mean but this might help:
-----
// Console.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;

void DoStuff()
{
// Get the input from the user.
cout << "Enter string: ";
string s;
cin >> s;
cout << endl;

for (int i=0; i<10; ++i)
{
random_shuffle(s.begin(), s.end());
cout << "Randomised: " << s << endl;
}
}

int main(int argc, char* argv[])
{
DoStuff();
return 0;
}


Steve
GeneralRe: how to get all possible randomized number.. Pin
makaveli_072-May-06 18:34
makaveli_072-May-06 18:34 
GeneralRe: how to get all possible randomized number.. Pin
Stephen Hewitt2-May-06 18:37
Stephen Hewitt2-May-06 18:37 
GeneralRe: how to get all possible randomized number.. Pin
makaveli_072-May-06 18:55
makaveli_072-May-06 18:55 
GeneralRe: how to get all possible randomized number.. Pin
Stephen Hewitt2-May-06 18:58
Stephen Hewitt2-May-06 18:58 
QuestionMultiple Writers with IStorage Pin
dchuber20002-May-06 12:40
dchuber20002-May-06 12:40 
Questionsockets in mfc Pin
proach2-May-06 11:31
proach2-May-06 11:31 
QuestionInflate EXE on startup Pin
Andre xxxxxxx2-May-06 10:44
Andre xxxxxxx2-May-06 10:44 
AnswerRe: Inflate EXE on startup Pin
Justin Tay2-May-06 23:33
Justin Tay2-May-06 23:33 
QuestionReceiving a RPC_S_SERVER_UNAVAILABLE (1722) Error After Calling GetEffectiveRightsFromAcl Pin
Edward Abrahim2-May-06 9:57
Edward Abrahim2-May-06 9:57 
AnswerRe: Receiving a RPC_S_SERVER_UNAVAILABLE (1722) Error After Calling GetEffectiveRightsFromAcl Pin
Hamid_RT2-May-06 19:55
Hamid_RT2-May-06 19:55 
QuestionRight Click on a Button Message Pin
eurosic2-May-06 9:55
eurosic2-May-06 9:55 
AnswerRe: Right Click on a Button Message Pin
PJ Arends2-May-06 15:01
professionalPJ Arends2-May-06 15:01 
AnswerRe: Right Click on a Button Message Pin
Michael Dunn2-May-06 15:24
sitebuilderMichael Dunn2-May-06 15:24 
AnswerRe: Right Click on a Button Message Pin
Hamid_RT2-May-06 19:27
Hamid_RT2-May-06 19:27 
QuestionWhen to create Dialog-based app and when to use normal window ? Pin
Defenestration2-May-06 9:19
Defenestration2-May-06 9:19 
AnswerRe: When to create Dialog-based app and when to use normal window ? Pin
Defenestration2-May-06 9:26
Defenestration2-May-06 9:26 
AnswerRe: When to create Dialog-based app and when to use normal window ? Pin
Cedric Moonen2-May-06 9:44
Cedric Moonen2-May-06 9:44 

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.