Click here to Skip to main content
15,914,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to change the menu's background? Pin
Happy frog3-May-06 0:31
Happy frog3-May-06 0:31 
AnswerRe: How to change the menu's background? Pin
Hamid_RT3-May-06 0:51
Hamid_RT3-May-06 0:51 
QuestionNaughty splitter windows with OpenGL and MFC Pin
_psh_3-May-06 0:19
_psh_3-May-06 0:19 
AnswerRe: Naughty splitter windows with OpenGL and MFC Pin
kev~3-May-06 0:35
kev~3-May-06 0:35 
GeneralRe: Naughty splitter windows with OpenGL and MFC Pin
_psh_3-May-06 1:36
_psh_3-May-06 1:36 
Questionempty fields in CIPAddresCtrl Pin
viperlogic3-May-06 0:09
viperlogic3-May-06 0:09 
AnswerRe: empty fields in CIPAddresCtrl Pin
David Crow3-May-06 2:15
David Crow3-May-06 2:15 
Questionhow to get input frm notepad.. Pin
makaveli_073-May-06 0:09
makaveli_073-May-06 0:09 
i ve done a program where it can create a output file...now i want the same programe also can read frm a notepad..any idea on this...i paste my codes down..Blush | :O Blush | :O

-----------------------------------------------------------------------------<code>#include <iostream>
#include <string>
#include <algorithm>
#include <fstream>
using namespace std;

void DoStuff()


{

ofstream File("MyFile.txt");

cout << "Enter digit: ";
string s;
cin >> s;
cout << endl;



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

// File << "Single Row: " << s << " " << s << " " << s <<" " << s << endl;
File << " "<< endl;



}


}

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

return 0;

}
</code> pls help meRoll eyes | :rolleyes: Roll eyes | :rolleyes: Roll eyes | :rolleyes:
AnswerRe: how to get input frm notepad.. Pin
Aqueel3-May-06 0:17
Aqueel3-May-06 0:17 
GeneralRe: how to get input frm notepad.. Pin
makaveli_073-May-06 0:25
makaveli_073-May-06 0:25 
GeneralRe: how to get input frm notepad.. Pin
toxcct3-May-06 0:31
toxcct3-May-06 0:31 
GeneralRe: how to get input frm notepad.. Pin
makaveli_073-May-06 0:41
makaveli_073-May-06 0:41 
GeneralRe: how to get input frm notepad.. Pin
Cedric Moonen3-May-06 1:04
Cedric Moonen3-May-06 1:04 
GeneralRe: how to get input frm notepad.. Pin
Maxwell Chen3-May-06 1:07
Maxwell Chen3-May-06 1:07 
GeneralRe: how to get input frm notepad.. Pin
Hamid_RT3-May-06 1:25
Hamid_RT3-May-06 1:25 
GeneralRe: how to get input frm notepad.. Pin
toxcct3-May-06 1:32
toxcct3-May-06 1:32 
GeneralRe: how to get input frm notepad.. Pin
Rage3-May-06 1:37
professionalRage3-May-06 1:37 
Generalot... Pin
toxcct3-May-06 1:40
toxcct3-May-06 1:40 
AnswerRe: how to get input frm notepad.. Pin
David Crow3-May-06 2:21
David Crow3-May-06 2:21 
Questionhow to do time stamp.. Pin
makaveli_073-May-06 0:02
makaveli_073-May-06 0:02 
AnswerRe: how to do time stamp.. Pin
Maxwell Chen3-May-06 0:25
Maxwell Chen3-May-06 0:25 
QuestionRe: how to do time stamp.. Pin
David Crow3-May-06 2:23
David Crow3-May-06 2:23 
QuestionRAND_MAX constant Pin
9ine2-May-06 23:57
9ine2-May-06 23:57 
AnswerRe: RAND_MAX constant Pin
Cedric Moonen3-May-06 0:00
Cedric Moonen3-May-06 0:00 
GeneralRe: RAND_MAX constant Pin
9ine3-May-06 0:39
9ine3-May-06 0:39 

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.