Click here to Skip to main content
16,006,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How i can get file when i debug my project.. Pin
Shah Satish3-Dec-06 23:56
Shah Satish3-Dec-06 23:56 
GeneralRe: How i can get file when i debug my project.. Pin
Shah Satish3-Dec-06 23:57
Shah Satish3-Dec-06 23:57 
AnswerRe: How i can get file when i debug my project.. Pin
_AnsHUMAN_ 4-Dec-06 2:56
_AnsHUMAN_ 4-Dec-06 2:56 
AnswerRe: How i can get file when i debug my project.. Pin
David Crow4-Dec-06 4:55
David Crow4-Dec-06 4:55 
Questionoutptu rand() in textbox Pin
panduran3-Dec-06 22:19
panduran3-Dec-06 22:19 
AnswerRe: outptu rand() in textbox Pin
Christian Graus3-Dec-06 22:25
protectorChristian Graus3-Dec-06 22:25 
AnswerRe: outptu rand() in textbox Pin
David Crow4-Dec-06 4:56
David Crow4-Dec-06 4:56 
AnswerRe: outptu rand() in textbox Pin
ThatsAlok4-Dec-06 20:27
ThatsAlok4-Dec-06 20:27 
panduran wrote:
am trying to develop in vc++6.00 , a windows form which automatically generates and inserts a random 6 digit number in a text box. Have toyed with rand() but a


 int iRandomNo=0;
srand(GetTockCount());
for(int i=0;i<6;i++)
{
 iRandomNo = iRandomNo*10 + rand()/10;
}

SetDlgItemInt(ID_TEXTBOX,iRandomNo);



"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you

GeneralRe: outptu rand() in textbox Pin
panduran6-Dec-06 3:13
panduran6-Dec-06 3:13 
Questioncreating a DLL ? Pin
Sakthiu3-Dec-06 20:37
Sakthiu3-Dec-06 20:37 
AnswerRe: creating a DLL ? Pin
Naveen3-Dec-06 20:41
Naveen3-Dec-06 20:41 
GeneralRe: creating a DLL ? Pin
Sakthiu3-Dec-06 20:47
Sakthiu3-Dec-06 20:47 
GeneralRe: creating a DLL ? Pin
Naveen3-Dec-06 20:50
Naveen3-Dec-06 20:50 
GeneralRe: creating a DLL ? Pin
Sakthiu3-Dec-06 20:53
Sakthiu3-Dec-06 20:53 
GeneralRe: creating a DLL ? Pin
Naveen3-Dec-06 21:23
Naveen3-Dec-06 21:23 
GeneralRe: creating a DLL ? Pin
Sakthiu3-Dec-06 21:26
Sakthiu3-Dec-06 21:26 
GeneralRe: creating a DLL ? Pin
Naveen3-Dec-06 21:46
Naveen3-Dec-06 21:46 
AnswerRe: creating a DLL ? Pin
ashokbngr3-Dec-06 22:30
ashokbngr3-Dec-06 22:30 
GeneralRe: creating a DLL ? Pin
Sakthiu3-Dec-06 22:33
Sakthiu3-Dec-06 22:33 
GeneralRe: creating a DLL ? Pin
ashokbngr4-Dec-06 0:11
ashokbngr4-Dec-06 0:11 
Questionhow to use Scripting.filesystemobject in VC++ Pin
_tasleem3-Dec-06 19:33
_tasleem3-Dec-06 19:33 
AnswerRe: how to use Scripting.filesystemobject in VC++ Pin
ThatsAlok3-Dec-06 19:39
ThatsAlok3-Dec-06 19:39 
GeneralRe: how to use Scripting.filesystemobject in VC++ Pin
_tasleem3-Dec-06 20:29
_tasleem3-Dec-06 20:29 
GeneralRe: how to use Scripting.filesystemobject in VC++ Pin
jhwurmbach4-Dec-06 4:37
jhwurmbach4-Dec-06 4:37 
GeneralRe: how to use Scripting.filesystemobject in VC++ Pin
_tasleem4-Dec-06 18:13
_tasleem4-Dec-06 18:13 

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.