Click here to Skip to main content
15,908,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Start console application in background Pin
Monty218-May-06 2:13
Monty218-May-06 2:13 
QuestionZip a file without zipping in folder Pin
zahid_ash18-May-06 1:13
zahid_ash18-May-06 1:13 
AnswerRe: Zip a file without zipping in folder Pin
ThatsAlok18-May-06 1:48
ThatsAlok18-May-06 1:48 
GeneralRe: Zip a file without zipping in folder Pin
zahid_ash18-May-06 2:05
zahid_ash18-May-06 2:05 
GeneralRe: Zip a file without zipping in folder Pin
ThatsAlok18-May-06 2:11
ThatsAlok18-May-06 2:11 
GeneralRe: Zip a file without zipping in folder Pin
zahid_ash18-May-06 2:14
zahid_ash18-May-06 2:14 
GeneralRe: Zip a file without zipping in folder Pin
ThatsAlok18-May-06 2:34
ThatsAlok18-May-06 2:34 
Questionneed loop in mfc application(urgent) Pin
makaveli_0718-May-06 1:10
makaveli_0718-May-06 1:10 
i need loop for my randomised number...so that all the list of randomised number can be listed in editbox...i onli getting the last randomised number..
<code>

void CConeverterDlg::OnEnter()
{
// TODO: Add your control notification handler code here

CString str;
// char str[13];
cEdit.GetWindowText (str);
//AfxMessageBox(myStr);



//tmStart = time(0);


CTime time=CTime::GetCurrentTime ();
CString strtime= time.Format ("%Y%m%d%H%M%S");
cEdit3.SetWindowText (strtime+"\n");
//cEdit2.SetWindowText (strttime+"\n");//;(str)
//cEdit2.SetWindowText (strttime+"\n");


string line(str);
//line.c_str (),100);
//fin.open("data.txt");
// cout << str<<endl;



for (int i=0; i<500; ++i)
{
random_shuffle(line.begin(), line.end());
// File << "Randomised: " << line << endl;
// File << " : " << line << endl;
// File << " : " << line << endl;
// File << " : " << line << endl;
// File << " "<< endl;

// File << "Single Row: " << s << " " << s << " " << s <<" " << s << endl;
// File << " "<< endl;
CString cStr(line.c_str ());

cEdit2.SetWindowText ( cStr + "\n");
cEdit2.SetWindowText ("Randomised: "+ cStr + "\n");
UpdateData (FALSE);




//tmEnd = time(0);

}
CTime time1=CTime::GetCurrentTime ();
CString strtti= time1.Format ("%Y%m%d%H%M%S");
cEdit1.SetWindowText (str);
cEdit1.SetWindowText (strtti+"\n");

//cout << tmEnd-tmStart << " seconds " << endl;





}
</code>
AnswerRe: need loop in mfc application(urgent) Pin
ThatsAlok18-May-06 1:48
ThatsAlok18-May-06 1:48 
QuestionUrgent :- How to save the msg in Drafs in Pocket pc. Pin
Rocky Marrone18-May-06 0:53
Rocky Marrone18-May-06 0:53 
QuestionUrgent :- how to retrieve the Contact list from WAB ? Pin
Rocky Marrone18-May-06 0:51
Rocky Marrone18-May-06 0:51 
QuestionDynamic loading Dll Pin
bujji_bec18-May-06 0:38
bujji_bec18-May-06 0:38 
AnswerRe: Dynamic loading Dll Pin
velayudhan_raj18-May-06 0:51
velayudhan_raj18-May-06 0:51 
AnswerRe: Dynamic loading Dll Pin
Hamid_RT18-May-06 0:54
Hamid_RT18-May-06 0:54 
AnswerRe: Dynamic loading Dll Pin
Hamid_RT18-May-06 1:00
Hamid_RT18-May-06 1:00 
AnswerRe: Dynamic loading Dll Pin
Laxman Auti18-May-06 1:11
Laxman Auti18-May-06 1:11 
AnswerRe: Dynamic loading Dll Pin
voorugonda prashanth18-May-06 1:18
voorugonda prashanth18-May-06 1:18 
AnswerRe: Dynamic loading Dll Pin
NiceNaidu18-May-06 2:26
NiceNaidu18-May-06 2:26 
QuestionHow to use sysinfo Control? Pin
chybin18-May-06 0:36
chybin18-May-06 0:36 
AnswerRe: How to use sysinfo Control? Pin
ThatsAlok18-May-06 1:43
ThatsAlok18-May-06 1:43 
GeneralRe: How to use sysinfo Control? Pin
chybin18-May-06 15:14
chybin18-May-06 15:14 
GeneralRe: How to use sysinfo Control? Pin
ThatsAlok18-May-06 18:53
ThatsAlok18-May-06 18:53 
QuestionWorking with Timers Pin
VinayCool18-May-06 0:29
VinayCool18-May-06 0:29 
AnswerRe: Working with Timers Pin
Michel Wassink18-May-06 0:48
Michel Wassink18-May-06 0:48 
GeneralRe: Working with Timers Pin
VinayCool18-May-06 0:55
VinayCool18-May-06 0:55 

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.