devxlogo

November 12, 1999

MDI Forms and DLL

Question: Is there a way to host an MDI form from an ActiveX DLL in a Main application’s MDI Parent Form? Answer: Although I’ve never tried it, I don’t think

Text Box and an Array

Question: I opened a ASCII text file into an array. Now I want to print the data into a text box. I tried something like this: txtResult.text = flight(i) The

Using the random_shuffle Algorithm

STL includes the random_shuffle() algorithm. As the name suggests, this algorithm randomly shuffles the elements of a sequence. It takes two arguments, the first of which is an iterator that