thx a lot now i see! Where did the good times go? Don't try it, just do it! *Archibald*rever dragon!
snailflying
Posts
-
srand in c or c++ doesn't really Generate Random Numbers ? -
srand in c or c++ doesn't really Generate Random Numbers ?Hi All I am using the srand function generate random numbers.Here is the problem. for example: #include #include int main() { int i = 0,j = 0; srand((int)time(0)); for(i=0; i<10; i++) { j=1+(int)(10.0*rand()/(RAND_MAX+1.0)); std::cout << j << '\t'; } std::cout << std::endl; return 0; } result: 5 8 8 8 10 2 10 8 9 9 2 9 7 4 10 3 2 10 8 7 The problem is that the two lines of the results are the same when the compiler run over in one second. How the function works? how the computer make the rand numbers? Does the function can generate really Random Numbers ? Please help me out if you find some solution for the above problem. Thanks in advancs ! Where did the good times go? Don't try it, just do it! *Archibald*rever dragon!
-
How to modify the pop-up menu caption dynamicly?For instance: I want to implic the function :When i Rbuttondown the dialog,there is a pop-up menu.if the pop-up menu caption is "stretch",it can change to "shrink" when clicked. Thx advance!
Where did the good times go? Don't try it, just do it! *Archibald*rever dragon!
-
Bank of America SucksCome to china!;)
Where did the good times go? Don't try it, just do it! *Archibald*rever dragon!
-
Combine multiple text files into one !Now i have lots of text files in a folder,i want to combine them into one large file,but the problem is that it is must be order the formation rule. for instancethe txt file order) the first text file list item"1c.txt,2c.txt,......... the second text file list item"1e.txt,2e.txt,........ now the combine file order must be "1c.txt,1e.txt,2c.txt,2e.txt........." and so on! I want use STL implicat it! Waiting for ur help! Thx advance! ;)
Where did the good times go? Don't try it, just do it! *Archibald*rever dragon!
-
How to combine multiple text files into one ?thank u very much! i know how to do it!:-O
初学者!Don't try it, just do it! *Archibald*rever dragon!
-
Combine multiple text files into one !;PNow i have lots of text files in a folder,i want to combine them into one large file,but the problem is that it is must be order the formation rule. for instance:(the txt file order) the first text file list item"1c.txt,2c.txt,......... the second text file list item"1e.txt,2e.txt,........ now the combine file order must be "1c.txt,1e.txt,2c.txt,2e.txt........." and so on! Waiting for ur help! Thx advance!;P
初学者!Don't try it, just do it! *Archibald*rever dragon!
-
How to combine multiple text files into one ?Now i have lots of text files in a folder,i want to combine them into one large file,but the problem is that it is must be order the formation rule. for instance:(the txt file order) the first text file list item"1c.txt,2c.txt,......... the second text file list item"1e.txt,2e.txt,........ now the combine file order must be "1c.txt,1e.txt,2c.txt,2e.txt........." and so on! Waiting for ur help! Thx advance!;P
Don't try it, just do it! *Archibald*rever dragon!
-
The ways of make the print come ture !who can give me a example about the True DBReports 6.0 ?True DBReports 6.0? 初学者!Don't try it, just do it! *Archibald*rever dragon!
-
help me---Student Information Management Systemwho can send me a Student Information Management System in vb 6.0 language ? (use sql for the date base) thx for advance! 初学者!Don't try it, just do it! *Archibald*rever dragon!
-
how to shield the alt+esc,ctrl+alt+del and alt+tab?excuse me!For my english is poor!It means how to disable the alt+esc.ctrl+alt+del and alt+tab key combinations? in the vb6.0 初学者!Don't try it, just do it! *Archibald*rever dragon!
-
how to shield the alt+esc,ctrl+alt+del and alt+tab?who can send me a application about the shield of alt+esc,ctrl+alt+del and alt+tab...in vb 6.0 thanks advance!!!!!! 初学者!Don't try it, just do it! *Archibald*rever dragon!
-
how to shield all+esc,ctrl+alt+del and alt+tab?who can send me a application about the shield of alt+esc,ctrl+alt+del and alt+tab...in vb 6.0 thanks advance!!!!!! 初学者!Don't try it, just do it! *Archibald*rever dragon!
-
who can help me out?-----vb 6.0-------who can send me a application about the shield of alt+esc,ctrl+alt+del and alt+tab...in vb 6.0:confused: :)thanks advance!!!!!! 初学者!Don't try it, just do it! *Archibald*rever dragon!
-
free websitespace!please recommand me a free websitespace!I want to make a freewebsite(a personal website!) thanks! 初学者!Don't try it, just do it! *Archibald*rever dragon!
-
About Student Menagement SystemWho can share a software that about student manegement System? All your apropriate help will be welcome and thank, i hope to get your help to reach my goal of begining with the programing. your faithfully, Don't try it, just do it! *Archibald*rever dragon!
-
Ip v6who have articles about Ipv6? Or who can give me a website about it? thanks a lot! Don't try it, just do it!
-
Selling UML based stuff/ideas to customersofa~! 初学者!
-
In a vacuumHey, lady! We're not talking about a vacuum cleaner! 初学者!